インタフェースNewReferenceArrayInstruction
- すべてのスーパー・インタフェース:
ClassFileElement
,CodeElement
,Instruction
public sealed interface NewReferenceArrayInstruction extends Instruction
Code
属性のcode
配列のanewarray
命令をモデル化します。 CodeModel
の要素をトラバースするときに、CodeElement
として提供されます。
新しい参照配列命令はcompositeです:
NewReferenceArrayInstruction
(ClassEntry componentType
)
- Java Virtual Machine仕様を参照してください:
-
6.5.anewarray anewarray
- 導入されたバージョン:
- 24
- 関連項目:
-
メソッドのサマリー
修飾子と型メソッド説明配列のコンポーネント・タイプを返します。static NewReferenceArrayInstruction
of
(ClassEntry componentType) 新しい参照配列命令を返します。インタフェースjava.lang.classfile.Instructionで宣言されたメソッド
opcode, sizeInBytes
-
メソッドの詳細
-
componentType
-
of
static NewReferenceArrayInstruction of(ClassEntry componentType) 新しい参照配列命令を返します。- パラメータ:
componentType
- 配列のコンポーネント・タイプ- 戻り値:
- 新しい参照配列命令
-