インタフェースDynamicConstantPoolEntry

すべてのスーパー・インタフェース:
ClassFileElementPREVIEW, PoolEntryPREVIEW, WritableElementPREVIEW<PoolEntryPREVIEW>
既知のすべてのサブインタフェース:
ConstantDynamicEntryPREVIEW, InvokeDynamicEntryPREVIEW

public sealed interface DynamicConstantPoolEntry extends PoolEntryPREVIEW permits ConstantDynamicEntryPREVIEW, InvokeDynamicEntryPREVIEW
DynamicConstantPoolEntryは、JavaプラットフォームのプレビューAPIです。
プレビュー機能が有効な場合のみ、プログラムでDynamicConstantPoolEntryを使用できます。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
動的定数プール・エントリ(ConstantDynamicEntryPREVIEWまたはInvokeDynamicEntryPREVIEW)をモデル化します。
Java Virtual Machine仕様を参照してください:
「4.4.10 CONSTANT_Dynamic_infoおよびCONSTANT_InvokeDynamic_info構造」
シール済クラス階層グラフ:
DynamicConstantPoolEntryのシール済クラス階層グラフDynamicConstantPoolEntryのシール済クラス階層グラフ
導入されたバージョン:
22
  • メソッドの詳細

    • bootstrap

      この定数のブートストラップ・メソッド表のエントリを返します。
      戻り値:
      この定数のブートストラップ・メソッド表のエントリ
    • bootstrapMethodIndex

      int bootstrapMethodIndex()
      この定数のブートストラップ・メソッド表のエントリのインデックスを返します。
      戻り値:
      この定数のブートストラップ・メソッド表のエントリのインデックス
    • nameAndType

      起動名と型を返します。
      戻り値:
      起動名と型
    • name

      default Utf8EntryPREVIEW name()
      起動名を返します。
      戻り値:
      呼出し名
    • type

      default Utf8EntryPREVIEW type()
      呼出しタイプを返します。
      戻り値:
      起動タイプ