- All Superinterfaces:
ClassFileElementPREVIEW
,CodeElementPREVIEW
,InstructionPREVIEW
ArrayStoreInstruction
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.
Models an array store instruction in the
code
array of a Code
attribute. Corresponding opcodes will have a kind
of Opcode.Kind.ARRAY_STORE
PREVIEW. Delivered as a CodeElement
PREVIEW when
traversing the elements of a CodeModel
PREVIEW.- Since:
- 22
-
Method Summary
Methods declared in interface java.lang.classfile.InstructionPREVIEW
opcode, sizeInBytes
-
Method Details
-
typeKind
-
of
Returns an array store instruction.- Parameters:
op
- the opcode for the specific type of array store instruction, which must be of kindOpcode.Kind.ARRAY_STORE
PREVIEW- Returns:
- an array store instruction
-
ArrayStoreInstruction
when preview features are enabled.