newarray instruction in the code
array of a Code attribute. Delivered as a CodeElement
when traversing the elements of a CodeModel.
A new primitive array instruction is composite:
NewPrimitiveArrayInstruction(TypeKind typeKind)
typeKind is primitive and not void.
Opcode.Kind#NEW_PRIMITIVE_ARRAY , CodeBuilder::newarray
| Modifier and Type | Method and Description |
|---|---|
| public static NewPrimitiveArrayInstruction | |
| public TypeKind |
| of | back to summary |
|---|---|
| public static NewPrimitiveArrayInstruction of(TypeKind typeKind) Returns a new primitive array instruction.
| |
| typeKind | back to summary |
|---|---|
| public TypeKind typeKind() Returns the component type of the array. API Note The backing array code for this instruction is available through
| |