- All Implemented Interfaces:
Serializable,Comparable<Opcode.Kind>,Constable
- Enclosing class:
Opcode
Kinds of opcodes. Each kind of opcode has its own modeling interface
for its instructions.
- Since:
- 24
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLoad from array.Store into array.Branch.Constants.Type conversions.Discontinued jump subroutine.Discontinued return from subroutine.Access field.Increment local variable.Invoke method or constructor.Invoke a dynamically-computed call site.Load from local variable.Access jump table by key match and jump.Monitor.Create new multidimensional array.Create new object.Create new array.Create newreferencearray.Do nothing.Operators.Return from method.Stack operations.Store into local variable.Access jump table by index and jump.Throw exception or error.Check whether object is of given type. -
Method Summary
Modifier and TypeMethodDescriptionstatic Opcode.KindReturns the enum constant of this class with the specified name.static Opcode.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOAD
Load from local variable.- See Also:
-
STORE
Store into local variable.- See Also:
-
INCREMENT
Increment local variable.- See Also:
-
BRANCH
Branch.- See Also:
-
LOOKUP_SWITCH
Access jump table by key match and jump.- See Also:
-
TABLE_SWITCH
Access jump table by index and jump.- See Also:
-
RETURN
Return from method.- See Also:
-
THROW_EXCEPTION
Throw exception or error.- See Also:
-
FIELD_ACCESS
Access field.- See Also:
-
INVOKE
Invoke method or constructor.- See Also:
-
INVOKE_DYNAMIC
Invoke a dynamically-computed call site.- See Also:
-
NEW_OBJECT
Create new object.- See Also:
-
NEW_PRIMITIVE_ARRAY
Create new array.- See Also:
-
NEW_REF_ARRAY
Create newreferencearray.- See Also:
-
NEW_MULTI_ARRAY
Create new multidimensional array.- See Also:
-
TYPE_CHECK
Check whether object is of given type.- See Also:
-
ARRAY_LOAD
Load from array.- See Also:
-
ARRAY_STORE
Store into array.- See Also:
-
STACK
Stack operations.- See Also:
-
CONVERT
Type conversions.- See Also:
-
OPERATOR
Operators.- See Also:
-
CONSTANT
Constants.- See Also:
-
MONITOR
Monitor.- See Also:
-
NOP
Do nothing.- See Also:
-
DISCONTINUED_JSR
Discontinued jump subroutine.- See Also:
-
DISCONTINUED_RET
Discontinued return from subroutine.- See Also:
-
-
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
-