# Uses of Interface
java.lang.classfile.instruction.NewPrimitiveArrayInstruction

Packages that use NewPrimitiveArrayInstructionPREVIEW
Package
Description
java.lang.classfile.instruction
Provides interfaces describing code instructions for the `java.lang.classfile`PREVIEW library.

- ## Uses of NewPrimitiveArrayInstructionPREVIEW in java.lang.classfile.instructionPREVIEW

  Methods in java.lang.classfile.instructionPREVIEW that return NewPrimitiveArrayInstructionPREVIEW
  Modifier and Type
  Method
  Description
  `static NewPrimitiveArrayInstructionPREVIEW`
  NewPrimitiveArrayInstruction.`of(TypeKindPREVIEW typeKind)`
  Returns a new primitive array instruction.