public class New extends Statement implements IExpression
This AST element represents the instantiation of a new non-array object.
Note: Currently, new constructs are read-only elements.
NewArray
Modifier and Type | Method and Description |
---|---|
java.util.List<IExpression> |
getArguments()
Get the constructor arguments.
|
Method |
getMethod()
Get the constructor method used in this new statement.
|
java.lang.String |
getType()
Get the type of object being instantiated.
|
attachTag, getSubElements, isCompound, replaceSubElement, retrieveTag
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attachTag, getSubElements, replaceSubElement, retrieveTag
public java.lang.String getType()
Get the type of object being instantiated.
public Method getMethod()
Get the constructor method used in this new statement.
public java.util.List<IExpression> getArguments()
Get the constructor arguments.