public class NewArray extends Statement implements IExpression
This AST element represents the instantiation of a new array object.
Note: Currently, new array elements cannot be generated by API users.
New| Modifier and Type | Method and Description |
|---|---|
java.util.List<IExpression> |
getInitialValues()
Get the list of initial values for the array.
|
java.util.List<IExpression> |
getSizes()
Get the list of dimensions for the array.
|
java.lang.String |
getType()
Get the type of array being instantiated.
|
attachTag, getSubElements, isCompound, replaceSubElement, retrieveTagequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattachTag, getSubElements, replaceSubElement, retrieveTagpublic java.lang.String getType()
Get the type of array being instantiated.
public java.util.List<IExpression> getSizes()
Get the list of dimensions for the array.
public java.util.List<IExpression> getInitialValues()
Get the list of initial values for the array.