- All Implemented Interfaces:
Serializable
,Comparable<Opcode.KindPREVIEW>
,Constable
Kind
is a preview API of the Java platform.
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 extends Enum<E>>
-
Enum Constant Summary
Enum 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 type -
Method Summary
Modifier and TypeMethodDescriptionstatic Opcode.KindPREVIEW
Returns the enum constant of this class with the specified name.static Opcode.KindPREVIEW[]
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
Access jump table by key match and jump- See Also:
-
TABLE_SWITCH
-
RETURN
-
THROW_EXCEPTION
-
FIELD_ACCESS
-
INVOKE
-
INVOKE_DYNAMIC
Invoke a dynamically-computed call site- See Also:
-
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
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
-
Kind
when preview features are enabled.