Interface ConstantInstruction.IntrinsicConstantInstruction
- All Superinterfaces:
ClassFileElement
,CodeElement
,ConstantInstruction
,Instruction
- Enclosing interface:
ConstantInstruction
public static sealed interface ConstantInstruction.IntrinsicConstantInstruction
extends ConstantInstruction
Models an "intrinsic constant" instruction (e.g.,
iconst_0
).- Since:
- 24
-
Nested Class Summary
Nested classes/interfaces declared in interface java.lang.classfile.instruction.ConstantInstruction
ConstantInstruction.ArgumentConstantInstruction, ConstantInstruction.IntrinsicConstantInstruction, ConstantInstruction.LoadConstantInstruction
-
Method Summary
Methods declared in interface java.lang.classfile.instruction.ConstantInstruction
constantValue
Methods declared in interface java.lang.classfile.Instruction
opcode, sizeInBytes
-
Method Details
-
typeKind
Returns the type of the constant.- Specified by:
typeKind
in interfaceConstantInstruction
- Returns:
- the type of the constant
-