Enum AssignmentOperatorType
- java.lang.Object
-
- java.lang.Enum<AssignmentOperatorType>
-
- com.strobel.decompiler.languages.java.ast.AssignmentOperatorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AssignmentOperatorType>
public enum AssignmentOperatorType extends java.lang.Enum<AssignmentOperatorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
ANY
ASSIGN
BITWISE_AND
BITWISE_OR
DIVIDE
EXCLUSIVE_OR
MODULUS
MULTIPLY
SHIFT_LEFT
SHIFT_RIGHT
SUBTRACT
UNSIGNED_SHIFT_RIGHT
-
Constructor Summary
Constructors Modifier Constructor Description private
AssignmentOperatorType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCompoundAssignment()
static AssignmentOperatorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AssignmentOperatorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASSIGN
public static final AssignmentOperatorType ASSIGN
-
ADD
public static final AssignmentOperatorType ADD
-
SUBTRACT
public static final AssignmentOperatorType SUBTRACT
-
MULTIPLY
public static final AssignmentOperatorType MULTIPLY
-
DIVIDE
public static final AssignmentOperatorType DIVIDE
-
MODULUS
public static final AssignmentOperatorType MODULUS
-
SHIFT_LEFT
public static final AssignmentOperatorType SHIFT_LEFT
-
SHIFT_RIGHT
public static final AssignmentOperatorType SHIFT_RIGHT
-
UNSIGNED_SHIFT_RIGHT
public static final AssignmentOperatorType UNSIGNED_SHIFT_RIGHT
-
BITWISE_AND
public static final AssignmentOperatorType BITWISE_AND
-
BITWISE_OR
public static final AssignmentOperatorType BITWISE_OR
-
EXCLUSIVE_OR
public static final AssignmentOperatorType EXCLUSIVE_OR
-
ANY
public static final AssignmentOperatorType ANY
-
-
Method Detail
-
values
public static AssignmentOperatorType[] 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 (AssignmentOperatorType c : AssignmentOperatorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssignmentOperatorType 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
-
isCompoundAssignment
public final boolean isCompoundAssignment()
-
-