モジュール java.base
インタフェースConstantInstruction.ArgumentConstantInstruction
- すべてのスーパー・インタフェース:
ClassFileElementPREVIEW
,CodeElementPREVIEW
,ConstantInstructionPREVIEW
,InstructionPREVIEW
- 含まれているインタフェース:
ConstantInstructionPREVIEW
public static sealed interface ConstantInstruction.ArgumentConstantInstruction extends ConstantInstructionPREVIEW
ArgumentConstantInstruction
は、JavaプラットフォームのプレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
"argument constant"命令(e.g.,
bipush
)をモデル化します。- 導入されたバージョン:
- 22
-
ネストされたクラスのサマリー
インタフェースjava.lang.classfile.instruction.ConstantInstructionPREVIEWで宣言されたネストされたクラス/インタフェース
ConstantInstruction.ArgumentConstantInstructionPREVIEW, ConstantInstruction.IntrinsicConstantInstructionPREVIEW, ConstantInstruction.LoadConstantInstructionPREVIEW
-
メソッドのサマリー
インタフェースjava.lang.classfile.InstructionPREVIEWで宣言されたメソッド
opcode, sizeInBytes
-
メソッドの詳細
-
constantValue
Integer constantValue()インタフェース:ConstantInstruction
からコピーされた説明定数値を返します。- 定義:
- インタフェース
ConstantInstructionPREVIEW
内のconstantValue
- 戻り値:
- 定数値
-
typeKind
定数の型を返します。- 定義:
- インタフェース
ConstantInstructionPREVIEW
内のtypeKind
- 戻り値:
- 定数の型
-
ArgumentConstantInstruction
を使用できます。