Module org.glavo.classfile
Package org.glavo.classfile.instruction
Interface ConstantInstruction.IntrinsicConstantInstruction
- All Superinterfaces:
ClassFileElement,CodeElement,ConstantInstruction,Instruction
- All Known Implementing Classes:
AbstractInstruction.UnboundIntrinsicConstantInstruction
- Enclosing interface:
ConstantInstruction
public static sealed interface ConstantInstruction.IntrinsicConstantInstruction
extends ConstantInstruction
permits AbstractInstruction.UnboundIntrinsicConstantInstruction
Models an "intrinsic constant" instruction (e.g.,
iconst_0).- Since:
- 22
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glavo.classfile.instruction.ConstantInstruction
ConstantInstruction.ArgumentConstantInstruction, ConstantInstruction.IntrinsicConstantInstruction, ConstantInstruction.LoadConstantInstruction -
Method Summary
Methods inherited from interface org.glavo.classfile.instruction.ConstantInstruction
constantValueMethods inherited from interface org.glavo.classfile.Instruction
opcode, sizeInBytes
-
Method Details
-
typeKind
Returns the type of the constant.- Specified by:
typeKindin interfaceConstantInstruction- Returns:
- the type of the constant
-