anewarray instruction in the code
array of a Code attribute. Delivered as a CodeElement
when traversing the elements of a CodeModel.
A new reference array instruction is composite:
NewReferenceArrayInstruction(ClassEntry componentType)
Opcode.Kind#NEW_REF_ARRAY , CodeBuilder::anewarray
| Modifier and Type | Method and Description |
|---|---|
| public ClassEntry | |
| public static NewReferenceArrayInstruction | Returns: a new reference array instructionthe component type of the array componentType)Returns a new reference array instruction. |
| componentType | back to summary |
|---|---|
| public ClassEntry componentType() Returns the component type of the array.
| |
| of | back to summary |
|---|---|
| public static NewReferenceArrayInstruction of(ClassEntry componentType) Returns a new reference array instruction.
| |