モジュール java.base

インタフェースConstantInstruction

すべてのスーパー・インタフェース:
ClassFileElementPREVIEW, CodeElementPREVIEW, InstructionPREVIEW
既知のすべてのサブインタフェース:
ConstantInstruction.ArgumentConstantInstructionPREVIEW, ConstantInstruction.IntrinsicConstantInstructionPREVIEW, ConstantInstruction.LoadConstantInstructionPREVIEW

ConstantInstructionは、JavaプラットフォームのプレビューAPIです。
プレビュー機能が有効な場合のみ、プログラムでConstantInstructionを使用できます。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
"intrinsic constant"命令(e.g., iconst_0)、"argument constant"命令(e.g., bipush)、"load constant"命令(e.g., LDC)など、 Code属性のcode配列内の定数ロード命令をモデル化します。 対応するopcodeのkindは、Opcode.Kind.CONSTANTPREVIEWになります。 CodeModelPREVIEWの要素をトラバースするときに、CodeElementPREVIEWとして提供されます。
導入されたバージョン:
22