com.pnfsoftware.jeb.core.units.code.java.IJavaNew |
Java AST interface to represent the instantiation of a new non-array object.
Example:
x = new SomeObject(...); ^^^^^^^^^^^^^^^^^^^
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaElement
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IJavaNew |
duplicate()
Duplicate this element.
| ||||||||||
abstract List<IJavaExpression> |
getArguments()
Get the constructor arguments.
| ||||||||||
abstract IJavaMethod |
getConstructor()
Get the constructor method used in this new statement.
| ||||||||||
abstract String |
getConstructorName()
Get the original constructor simple name.
| ||||||||||
abstract String |
getConstructorSignature()
Get the original constructor jvm name (fully qualified canonical name).
| ||||||||||
abstract IJavaClass |
getGeneratedAnonymousClass(JavaOutputSink out, int[] aAnonArgStart)
Reserved for internal use.
| ||||||||||
abstract IJavaMethod |
getMethod()
This method is deprecated.
use
getConstructor()
| ||||||||||
abstract IJavaType |
getType()
Get the type of object being instantiated.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaElement
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaExpression
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaStatement
|
Duplicate this element.
Get the constructor arguments.
Get the constructor method used in this new statement.
Get the original constructor simple name.
Get the original constructor jvm name (fully qualified canonical name).
Reserved for internal use.
Get the type of object being instantiated.