インタフェース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 NewReferenceArrayInstructionof(ClassEntry componentType) 新しい参照配列命令を返します。インタフェースjava.lang.classfile.Instructionで宣言されたメソッド
opcode, sizeInBytes
-
メソッドの詳細
-
componentType
-
of
static NewReferenceArrayInstruction of(ClassEntry componentType) 新しい参照配列命令を返します。- パラメータ:
componentType- 配列のコンポーネント・タイプ- 戻り値:
- 新しい参照配列命令
-