- All Superinterfaces:
ClassfileElement,CodeElement,Instruction
- All Known Implementing Classes:
AbstractInstruction.UnboundArrayStoreInstruction
public sealed interface ArrayStoreInstruction
extends Instruction
permits AbstractInstruction.UnboundArrayStoreInstruction
Models an array store instruction in the
code array of a Code
attribute. Corresponding opcodes will have a kind of Opcode.Kind.ARRAY_STORE. Delivered as a CodeElement when
traversing the elements of a CodeModel.-
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayStoreInstructionReturns an array store instruction.typeKind()Returns the component type of the array.Methods inherited from interface org.glavo.classfile.Instruction
opcode, sizeInBytes
-
Method Details
-
typeKind
TypeKind typeKind()Returns the component type of the array.- Returns:
- the component type of the array
-
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- Returns:
- an array store instruction
-