- All Implemented Interfaces:
Serializable,Comparable<Opcode.KindPREVIEW>,Constable
Kind is a preview API of the Java platform.Programs can only use
Kind when preview features are enabled.Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Kinds of opcodes.
- Since:
- 22
Nested Class Summary
Nested classes/interfaces declared in class java.lang.Enum
Enum.EnumDesc<E extendsEnum<E>>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLoad from arrayStore into arrayBranchConstantsType conversionsDiscontinued jump subroutineDiscontinued return from subroutineAccess fieldIncrement local variableInvoke method or constructorInvoke a dynamically-computed call siteLoad from local variableAccess jump table by key match and jumpMonitorCreate new multidimensional arrayCreate new objectCreate new arrayCreate new reference arrayDo nothingOperatorsReturn from methodStack operationsStore into local variableAccess jump table by index and jumpThrow exception or errorCheck whether object is of given typeMethod Summary
Modifier and TypeMethodDescriptionstaticOpcode.KindPREVIEWReturns the enum constant of this class with the specified name.staticOpcode.KindPREVIEW[]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:
Opcode.ILOADPREVIEWOpcode.LLOADPREVIEWOpcode.FLOADPREVIEWOpcode.DLOADPREVIEWOpcode.ALOADPREVIEWOpcode.ILOAD_0PREVIEWOpcode.ILOAD_1PREVIEWOpcode.ILOAD_2PREVIEWOpcode.ILOAD_3PREVIEWOpcode.LLOAD_0PREVIEWOpcode.LLOAD_1PREVIEWOpcode.LLOAD_2PREVIEWOpcode.LLOAD_3PREVIEWOpcode.FLOAD_0PREVIEWOpcode.FLOAD_1PREVIEWOpcode.FLOAD_2PREVIEWOpcode.FLOAD_3PREVIEWOpcode.DLOAD_0PREVIEWOpcode.DLOAD_1PREVIEWOpcode.DLOAD_2PREVIEWOpcode.DLOAD_3PREVIEWOpcode.ALOAD_0PREVIEWOpcode.ALOAD_1PREVIEWOpcode.ALOAD_2PREVIEWOpcode.ALOAD_3PREVIEWOpcode.ILOAD_WPREVIEWOpcode.LLOAD_WPREVIEWOpcode.FLOAD_WPREVIEWOpcode.DLOAD_WPREVIEWOpcode.ALOAD_WPREVIEW
STORE
Store into local variable- See Also:
Opcode.ISTOREPREVIEWOpcode.LSTOREPREVIEWOpcode.FSTOREPREVIEWOpcode.DSTOREPREVIEWOpcode.ASTOREPREVIEWOpcode.ISTORE_0PREVIEWOpcode.ISTORE_1PREVIEWOpcode.ISTORE_2PREVIEWOpcode.ISTORE_3PREVIEWOpcode.LSTORE_0PREVIEWOpcode.LSTORE_1PREVIEWOpcode.LSTORE_2PREVIEWOpcode.LSTORE_3PREVIEWOpcode.FSTORE_0PREVIEWOpcode.FSTORE_1PREVIEWOpcode.FSTORE_2PREVIEWOpcode.FSTORE_3PREVIEWOpcode.DSTORE_0PREVIEWOpcode.DSTORE_1PREVIEWOpcode.DSTORE_2PREVIEWOpcode.DSTORE_3PREVIEWOpcode.ASTORE_0PREVIEWOpcode.ASTORE_1PREVIEWOpcode.ASTORE_2PREVIEWOpcode.ASTORE_3PREVIEWOpcode.ISTORE_WPREVIEWOpcode.LSTORE_WPREVIEWOpcode.FSTORE_WPREVIEWOpcode.DSTORE_WPREVIEWOpcode.ASTORE_WPREVIEW
INCREMENT
Increment local variableBRANCH
Branch- See Also:
Opcode.IFEQPREVIEWOpcode.IFNEPREVIEWOpcode.IFLTPREVIEWOpcode.IFGEPREVIEWOpcode.IFGTPREVIEWOpcode.IFLEPREVIEWOpcode.IF_ICMPEQPREVIEWOpcode.IF_ICMPNEPREVIEWOpcode.IF_ICMPLTPREVIEWOpcode.IF_ICMPGEPREVIEWOpcode.IF_ICMPGTPREVIEWOpcode.IF_ICMPLEPREVIEWOpcode.IF_ACMPEQPREVIEWOpcode.IF_ACMPNEPREVIEWOpcode.GOTOPREVIEWOpcode.IFNULLPREVIEWOpcode.IFNONNULLPREVIEWOpcode.GOTO_WPREVIEW
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 methodTHROW_EXCEPTION
Throw exception or error- See Also:
FIELD_ACCESS
Access fieldINVOKE
Invoke method or constructorINVOKE_DYNAMIC
Invoke a dynamically-computed call site- See Also:
NEW_OBJECT
NEW_PRIMITIVE_ARRAY
Create new array- See Also:
NEW_REF_ARRAY
Create new reference array- See Also:
NEW_MULTI_ARRAY
Create new multidimensional array- See Also:
TYPE_CHECK
Check whether object is of given typeARRAY_LOAD
Load from arrayARRAY_STORE
Store into arraySTACK
Stack operationsCONVERT
Type conversionsOPERATOR
Operators- See Also:
Opcode.IADDPREVIEWOpcode.LADDPREVIEWOpcode.FADDPREVIEWOpcode.DADDPREVIEWOpcode.ISUBPREVIEWOpcode.LSUBPREVIEWOpcode.FSUBPREVIEWOpcode.DSUBPREVIEWOpcode.IMULPREVIEWOpcode.LMULPREVIEWOpcode.FMULPREVIEWOpcode.DMULPREVIEWOpcode.IDIVPREVIEWOpcode.LDIVPREVIEWOpcode.FDIVPREVIEWOpcode.DDIVPREVIEWOpcode.IREMPREVIEWOpcode.LREMPREVIEWOpcode.FREMPREVIEWOpcode.DREMPREVIEWOpcode.INEGPREVIEWOpcode.LNEGPREVIEWOpcode.FNEGPREVIEWOpcode.DNEGPREVIEWOpcode.ISHLPREVIEWOpcode.LSHLPREVIEWOpcode.ISHRPREVIEWOpcode.LSHRPREVIEWOpcode.IUSHRPREVIEWOpcode.LUSHRPREVIEWOpcode.IANDPREVIEWOpcode.LANDPREVIEWOpcode.IORPREVIEWOpcode.LORPREVIEWOpcode.IXORPREVIEWOpcode.LXORPREVIEWOpcode.LCMPPREVIEWOpcode.FCMPLPREVIEWOpcode.FCMPGPREVIEWOpcode.DCMPLPREVIEWOpcode.DCMPGPREVIEWOpcode.ARRAYLENGTHPREVIEW
CONSTANT
Constants- See Also:
Opcode.ACONST_NULLPREVIEWOpcode.ICONST_M1PREVIEWOpcode.ICONST_0PREVIEWOpcode.ICONST_1PREVIEWOpcode.ICONST_2PREVIEWOpcode.ICONST_3PREVIEWOpcode.ICONST_4PREVIEWOpcode.ICONST_5PREVIEWOpcode.LCONST_0PREVIEWOpcode.LCONST_1PREVIEWOpcode.FCONST_0PREVIEWOpcode.FCONST_1PREVIEWOpcode.FCONST_2PREVIEWOpcode.DCONST_0PREVIEWOpcode.DCONST_1PREVIEWOpcode.BIPUSHPREVIEWOpcode.SIPUSHPREVIEWOpcode.LDCPREVIEWOpcode.LDC_WPREVIEWOpcode.LDC2_WPREVIEW
MONITOR
MonitorNOP
DISCONTINUED_JSR
Discontinued jump subroutineDISCONTINUED_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