Interface ArrayStoreInstruction
- 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_STOREPREVIEW. Delivered as a CodeElementPREVIEW when
traversing the elements of a CodeModelPREVIEW.- 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_STOREPREVIEW- Returns:
- an array store instruction
- Throws:
IllegalArgumentException- if the opcode kind is notOpcode.Kind.ARRAY_STOREPREVIEW.
-
ArrayStoreInstructionwhen preview features are enabled.