インタフェースConstantInstruction.ArgumentConstantInstruction
- すべてのスーパー・インタフェース:
ClassFileElement, CodeElement, ConstantInstruction, Instruction
- 含まれているインタフェース:
ConstantInstruction
public static sealed interface ConstantInstruction.ArgumentConstantInstruction extends ConstantInstruction
命令の定数値を直接エンコードする"引数定数"命令をモデル化します。
説明:
bipushおよびsipush命令が含まれます。
引数の定数命令はコンポジットです:
ArgumentConstantInstruction(
Opcode opcode,
int constantValue
)
opcodeは、bipushまたはsipushのいずれかである必要があります。constantValueは、byte、[-128, 127]、bipush、short、[-32768, 32767]、sipushの範囲内である必要があります。
- 導入されたバージョン:
- 24
- 関連項目:
-
ネストされたクラスのサマリー
インタフェースで宣言されたネストされたクラス/インタフェース ConstantInstruction
ConstantInstruction.ArgumentConstantInstruction, ConstantInstruction.IntrinsicConstantInstruction, ConstantInstruction.LoadConstantInstruction修飾子と型インタフェース説明static interface命令の定数値を直接エンコードする"引数定数"命令をモデル化します。static interface定数値をopcodeにエンコードする"組み込み定数"命令をモデル化します。static interface定数値を定数プールにエンコードする"ロード定数"命令をモデル化します。 -
メソッドのサマリー
インタフェースInstructionで宣言されたメソッド
opcode, sizeInBytes
-
メソッドの詳細
-
constantValue
Integer constantValue()インタフェース:ConstantInstructionからコピーされた説明定数値を返します。- 定義:
- インタフェース
ConstantInstruction内のconstantValue - 戻り値:
- 定数値
-
typeKind
default TypeKind typeKind()インタフェース:ConstantInstructionからコピーされた説明定数の「計算タイプ」を返します。 これは、constantValueから導出されます。- 定義:
- インタフェース
ConstantInstruction内のtypeKind - 戻り値:
- 定数の「計算タイプ」
-