new instruction in the code array of a Code
attribute. Delivered as a CodeElement when traversing the elements
of a CodeModel.
A new object instruction is composite:
NewObjectInstruction(ClassEntry className)
className is a non-abstract class.
Opcode.Kind#NEW_OBJECT , CodeBuilder::new_
| Modifier and Type | Method and Description |
|---|---|
| public ClassEntry | |
| public static NewObjectInstruction | Returns: a new object instructionthe type of object to create className)Returns a new object instruction. |
| className | back to summary |
|---|---|
| public ClassEntry className() Returns the type of object to create.
| |
| of | back to summary |
|---|---|
| public static NewObjectInstruction of(ClassEntry className) Returns a new object instruction.
| |