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