インタフェースNewReferenceArrayInstruction
- すべてのスーパー・インタフェース:
ClassFileElementPREVIEW,CodeElementPREVIEW,InstructionPREVIEW
public sealed interface NewReferenceArrayInstruction extends InstructionPREVIEW
NewReferenceArrayInstructionは、JavaプラットフォームのプレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
Code属性のcode配列内のanewarray呼出し命令をモデル化します。 CodeModelPREVIEWの要素をトラバースするときに、CodeElementPREVIEWとして提供されます。 - 導入されたバージョン:
- 22
-
メソッドのサマリー
インタフェースjava.lang.classfile.InstructionPREVIEWで宣言されたメソッド
opcode, sizeInBytes
-
メソッドの詳細
-
componentType
-
of
static NewReferenceArrayInstructionPREVIEW of(ClassEntryPREVIEW componentType) 新しい参照配列命令を返します。- パラメータ:
componentType- 配列のコンポーネント・タイプ- 戻り値:
- 新しい参照配列命令
-
NewReferenceArrayInstructionを使用できます。