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 extendsEnum<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 TypeMethodDescriptionstaticOpcode.KindReturns the enum constant of this class with the specified name.staticOpcode.Kind[]values()Returns an array containing the constants of this enum class, inthe order they are declared.
Enum Constant Details
LOAD
Load from local variable.- See Also:
LoadInstructionOpcode.ILOADOpcode.LLOADOpcode.FLOADOpcode.DLOADOpcode.ALOADOpcode.ILOAD_0Opcode.ILOAD_1Opcode.ILOAD_2Opcode.ILOAD_3Opcode.LLOAD_0Opcode.LLOAD_1Opcode.LLOAD_2Opcode.LLOAD_3Opcode.FLOAD_0Opcode.FLOAD_1Opcode.FLOAD_2Opcode.FLOAD_3Opcode.DLOAD_0Opcode.DLOAD_1Opcode.DLOAD_2Opcode.DLOAD_3Opcode.ALOAD_0Opcode.ALOAD_1Opcode.ALOAD_2Opcode.ALOAD_3Opcode.ILOAD_WOpcode.LLOAD_WOpcode.FLOAD_WOpcode.DLOAD_WOpcode.ALOAD_W
STORE
Store into local variable.- See Also:
StoreInstructionOpcode.ISTOREOpcode.LSTOREOpcode.FSTOREOpcode.DSTOREOpcode.ASTOREOpcode.ISTORE_0Opcode.ISTORE_1Opcode.ISTORE_2Opcode.ISTORE_3Opcode.LSTORE_0Opcode.LSTORE_1Opcode.LSTORE_2Opcode.LSTORE_3Opcode.FSTORE_0Opcode.FSTORE_1Opcode.FSTORE_2Opcode.FSTORE_3Opcode.DSTORE_0Opcode.DSTORE_1Opcode.DSTORE_2Opcode.DSTORE_3Opcode.ASTORE_0Opcode.ASTORE_1Opcode.ASTORE_2Opcode.ASTORE_3Opcode.ISTORE_WOpcode.LSTORE_WOpcode.FSTORE_WOpcode.DSTORE_WOpcode.ASTORE_W
INCREMENT
Increment local variable.BRANCH
Branch.LOOKUP_SWITCH
Access jump table by key match and jump.TABLE_SWITCH
Access jump table by index and jump.RETURN
Return from method.THROW_EXCEPTION
Throw exception or error.- See Also:
FIELD_ACCESS
Access field.INVOKE
Invoke method or constructor.INVOKE_DYNAMIC
Invoke a dynamically-computed call site.NEW_OBJECT
NEW_PRIMITIVE_ARRAY
Create new array.NEW_REF_ARRAY
Create newreferencearray.NEW_MULTI_ARRAY
Create new multidimensional array.TYPE_CHECK
Check whether object is of given type.ARRAY_LOAD
Load from array.ARRAY_STORE
Store into array.STACK
Stack operations.CONVERT
Type conversions.OPERATOR
Operators.- See Also:
OperatorInstructionOpcode.IADDOpcode.LADDOpcode.FADDOpcode.DADDOpcode.ISUBOpcode.LSUBOpcode.FSUBOpcode.DSUBOpcode.IMULOpcode.LMULOpcode.FMULOpcode.DMULOpcode.IDIVOpcode.LDIVOpcode.FDIVOpcode.DDIVOpcode.IREMOpcode.LREMOpcode.FREMOpcode.DREMOpcode.INEGOpcode.LNEGOpcode.FNEGOpcode.DNEGOpcode.ISHLOpcode.LSHLOpcode.ISHROpcode.LSHROpcode.IUSHROpcode.LUSHROpcode.IANDOpcode.LANDOpcode.IOROpcode.LOROpcode.IXOROpcode.LXOROpcode.LCMPOpcode.FCMPLOpcode.FCMPGOpcode.DCMPLOpcode.DCMPGOpcode.ARRAYLENGTH
CONSTANT
Constants.- See Also:
ConstantInstructionOpcode.ACONST_NULLOpcode.ICONST_M1Opcode.ICONST_0Opcode.ICONST_1Opcode.ICONST_2Opcode.ICONST_3Opcode.ICONST_4Opcode.ICONST_5Opcode.LCONST_0Opcode.LCONST_1Opcode.FCONST_0Opcode.FCONST_1Opcode.FCONST_2Opcode.DCONST_0Opcode.DCONST_1Opcode.BIPUSHOpcode.SIPUSHOpcode.LDCOpcode.LDC_WOpcode.LDC2_W
MONITOR
Monitor.NOP
DISCONTINUED_JSR
Discontinued jump subroutine.DISCONTINUED_RET
Discontinued return from subroutine.
Method Details
values
Returns an array containing the constants of this enum class, inthe 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 matchexactly an identifier used to declare anenum 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