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