Interface ConstantInstruction.ArgumentConstantInstruction

All Superinterfaces:
ClassFileElement, CodeElement, ConstantInstruction, Instruction
Enclosing interface:
ConstantInstruction

public static sealed interface ConstantInstruction.ArgumentConstantInstruction extends ConstantInstruction
Models an "argument constant" instruction, which encodes the constant value in the instruction directly. Includes bipush and sipush instructions.

An argument constant instruction is composite:

where:
  • opcode must be one of bipush or sipush.
  • constantValue must be in the range of byte, [-128, 127], for bipush, and in the range of short, [-32768, 32767], for sipush.
Since:
24
See Also: