インタフェースConstantInstruction.IntrinsicConstantInstruction
- すべてのスーパー・インタフェース:
ClassFileElement
,CodeElement
,ConstantInstruction
,Instruction
- 含まれているインタフェース:
ConstantInstruction
public static sealed interface ConstantInstruction.IntrinsicConstantInstruction extends ConstantInstruction
定数値をopcodeにエンコードする"組み込み定数"命令をモデル化します。 たとえば、
説明:
aconst_null
やiconst_0
などです。
組み込み定数命令はコンポジットです:
IntrinsicConstantInstruction
(Opcode opcode
)
- 導入されたバージョン:
- 24
- 関連項目:
-
ネストされたクラスのサマリー
インタフェースjava.lang.classfile.instruction.ConstantInstructionで宣言されたネストされたクラス/インタフェース
ConstantInstruction.ArgumentConstantInstruction, ConstantInstruction.IntrinsicConstantInstruction, ConstantInstruction.LoadConstantInstruction
-
メソッドのサマリー
インタフェースjava.lang.classfile.instruction.ConstantInstructionで宣言されたメソッド
constantValue
インタフェースjava.lang.classfile.Instructionで宣言されたメソッド
opcode, sizeInBytes
-
メソッドの詳細
-
typeKind
default TypeKind typeKind()インタフェース:ConstantInstruction
からコピーされた説明定数の「計算タイプ」を返します。 これは、constantValue
から導出されます。- 定義:
- インタフェース
ConstantInstruction
内のtypeKind
- 戻り値:
- 定数の「計算タイプ」
-