Package org.openrewrite.java.tree
Enum J.AssignmentOperation.Type
- java.lang.Object
-
- java.lang.Enum<J.AssignmentOperation.Type>
-
- org.openrewrite.java.tree.J.AssignmentOperation.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<J.AssignmentOperation.Type>
- Enclosing class:
- J.AssignmentOperation
public static enum J.AssignmentOperation.Type extends java.lang.Enum<J.AssignmentOperation.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AdditionBitAndBitOrBitXorDivisionLeftShiftModuloMultiplicationRightShiftSubtractionUnsignedRightShift
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static J.AssignmentOperation.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static J.AssignmentOperation.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Addition
public static final J.AssignmentOperation.Type Addition
-
BitAnd
public static final J.AssignmentOperation.Type BitAnd
-
BitOr
public static final J.AssignmentOperation.Type BitOr
-
BitXor
public static final J.AssignmentOperation.Type BitXor
-
Division
public static final J.AssignmentOperation.Type Division
-
LeftShift
public static final J.AssignmentOperation.Type LeftShift
-
Modulo
public static final J.AssignmentOperation.Type Modulo
-
Multiplication
public static final J.AssignmentOperation.Type Multiplication
-
RightShift
public static final J.AssignmentOperation.Type RightShift
-
Subtraction
public static final J.AssignmentOperation.Type Subtraction
-
UnsignedRightShift
public static final J.AssignmentOperation.Type UnsignedRightShift
-
-
Method Detail
-
values
public static J.AssignmentOperation.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (J.AssignmentOperation.Type c : J.AssignmentOperation.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static J.AssignmentOperation.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-