multianewarray instruction in the code
array of a Code attribute. Delivered as a CodeElement
when traversing the elements of a CodeModel.
A new multi-dimensional array instruction is composite:
NewMultiArrayInstruction( ClassEntry arrayType, int dimensions )
arrayType is an array class.
Opcode.Kind#NEW_MULTI_ARRAY , CodeBuilder::multianewarray
| Modifier and Type | Method and Description |
|---|---|
| public ClassEntry | |
| public int | Returns: the number of dimensions of the arrayReturns the number of dimensions of the array. |
| public static NewMultiArrayInstruction | Returns: a new multi-dimensional array instructionthe type of the array arrayTypeEntry, int the number of dimensions of the array dimensions)Returns a new multi-dimensional array instruction. |
| arrayType | back to summary |
|---|---|
| public ClassEntry arrayType() Returns the type of the array.
| |
| dimensions | back to summary |
|---|---|
| public int dimensions() Returns the number of dimensions of the array.
| |
| of | back to summary |
|---|---|
| public static NewMultiArrayInstruction of(ClassEntry arrayTypeEntry, int dimensions) Returns a new multi-dimensional array instruction.
| |