Interface OperatorInstruction

All Superinterfaces:
ClassFileElement, CodeElement, Instruction

public sealed interface OperatorInstruction extends Instruction
Models an arithmetic operator instruction in the code array of a Code attribute. Corresponding opcodes have a kind of Opcode.Kind.OPERATOR. Delivered as a CodeElement when traversing the elements of a CodeModel.

An operator instruction is composite:

Since:
24
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    of(Opcode op)
    Returns an operator instruction.
    Returns the operand type of the instruction.

    Methods declared in interface Instruction

    opcode, sizeInBytes
    Modifier and Type
    Method
    Description
    Returns the operation of this instruction.
    int
    Returns the size in bytes of this instruction.