- All Implemented Interfaces:
Serializable
,Comparable<Opcode>
,Constable
Provides constants of opcodes to visualize the syntax tree.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAddition.Bitwise AND.Constant (immediate value).Division.Logical AND.Equal to.Greater than or equal to.Greater than.Less than or equal to.Less than.Not equal to.Logical negation.Logical OR.Modulo.Multiplication.Negation.Bitwise NOT.Bitwise OR.Positive (NOP).Bitwise left shift.Bitwise right shift.Subtraction.Bitwise XOR. -
Method Summary
-
Enum Constant Details
-
NEG
Negation. -
POS
Positive (NOP). -
NOT
Bitwise NOT. -
LNOT
Logical negation. -
MUL
Multiplication. -
DIV
Division. -
MOD
Modulo. -
ADD
Addition. -
SUB
Subtraction. -
SHR
Bitwise right shift. -
SHL
Bitwise left shift. -
LGT
Greater than. -
LLT
Less than. -
LGE
Greater than or equal to. -
LLE
Less than or equal to. -
LNE
Not equal to. -
LEQ
Equal to. -
AND
Bitwise AND. -
XOR
Bitwise XOR. -
OR
Bitwise OR. -
LAND
Logical AND. -
LOR
Logical OR. -
CONST
Constant (immediate value).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-