Enum Class Opcode.Kind
- 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 declared in class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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 newreference
array.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.Kind
Returns 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
-
STORE
-
INCREMENT
-
BRANCH
-
LOOKUP_SWITCH
-
TABLE_SWITCH
-
RETURN
-
THROW_EXCEPTION
-
FIELD_ACCESS
-
INVOKE
-
INVOKE_DYNAMIC
-
NEW_OBJECT
-
NEW_PRIMITIVE_ARRAY
-
NEW_REF_ARRAY
-
NEW_MULTI_ARRAY
-
TYPE_CHECK
-
ARRAY_LOAD
-
ARRAY_STORE
-
STACK
-
CONVERT
-
OPERATOR
-
CONSTANT
-
MONITOR
-
NOP
-
DISCONTINUED_JSR
-
DISCONTINUED_RET
-
-
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
-