Interface ArrayStoreInstruction

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.
Since:
22
  • Method Details

    • typeKind

      TypeKind typeKind()
      Returns the component type of the array.
      Returns:
      the component type of the array
    • of

      static ArrayStoreInstruction of(Opcode op)
      Returns an array store instruction.
      Parameters:
      op - the opcode for the specific type of array store instruction, which must be of kind Opcode.Kind.ARRAY_STORE
      Returns:
      an array store instruction