public final class ArrayCreationExpr extends Expression
| Constructor and Description |
|---|
ArrayCreationExpr() |
ArrayCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
int arrayCount,
ArrayInitializerExpr initializer) |
ArrayCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
List<Expression> dimensions,
int arrayCount) |
ArrayCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
List<Expression> dimensions,
int arrayCount,
List<List<AnnotationExpr>> arraysAnnotations) |
ArrayCreationExpr(Type type,
int arrayCount,
ArrayInitializerExpr initializer) |
ArrayCreationExpr(Type type,
int arrayCount,
ArrayInitializerExpr initializer,
List<List<AnnotationExpr>> arraysAnnotations) |
ArrayCreationExpr(Type type,
List<Expression> dimensions,
int arrayCount) |
ArrayCreationExpr(Type type,
List<Expression> dimensions,
int arrayCount,
List<List<AnnotationExpr>> arraysAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
ArrayCreationExpr |
clone() |
int |
getArrayCount() |
List<List<AnnotationExpr>> |
getArraysAnnotations() |
List<Node> |
getChildren() |
List<Expression> |
getDimensions() |
ArrayInitializerExpr |
getInitializer() |
Type |
getType() |
boolean |
removeChild(Node child) |
boolean |
replaceChildNode(Node oldChild,
Node newChild) |
void |
setArrayCount(int arrayCount) |
void |
setArraysAnnotations(List<List<AnnotationExpr>> arraysAnnotations) |
void |
setDimensions(List<Expression> dimensions) |
void |
setInitializer(ArrayInitializerExpr initializer) |
void |
setType(Type type) |
getSymbolData, setSymbolDatacheck, clone, clone, contains, diableConstraints, enableConstraints, equals, getBeginColumn, getBeginLine, getCommonAncestor, getConstraints, getData, getEndColumn, getEndLine, getParentNode, getPrettySource, getPrettySource, hashCode, isAncestorOf, isInEqualLocation, isNewNode, isPreviousThan, remove, replaceChildNodeInList, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setConstraints, setData, setEndColumn, setEndLine, toString, updateReferencespublic ArrayCreationExpr()
public ArrayCreationExpr(Type type, int arrayCount, ArrayInitializerExpr initializer)
public ArrayCreationExpr(Type type, int arrayCount, ArrayInitializerExpr initializer, List<List<AnnotationExpr>> arraysAnnotations)
public ArrayCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
int arrayCount,
ArrayInitializerExpr initializer)
public ArrayCreationExpr(Type type, List<Expression> dimensions, int arrayCount)
public ArrayCreationExpr(Type type, List<Expression> dimensions, int arrayCount, List<List<AnnotationExpr>> arraysAnnotations)
public ArrayCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
List<Expression> dimensions,
int arrayCount)
public ArrayCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Type type,
List<Expression> dimensions,
int arrayCount,
List<List<AnnotationExpr>> arraysAnnotations)
public boolean removeChild(Node child)
removeChild in class Nodepublic List<Node> getChildren()
getChildren in class Expressionpublic <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic int getArrayCount()
public List<Expression> getDimensions()
public ArrayInitializerExpr getInitializer()
public Type getType()
public void setArrayCount(int arrayCount)
public void setDimensions(List<Expression> dimensions)
public void setInitializer(ArrayInitializerExpr initializer)
public void setType(Type type)
public List<List<AnnotationExpr>> getArraysAnnotations()
public void setArraysAnnotations(List<List<AnnotationExpr>> arraysAnnotations)
public boolean replaceChildNode(Node oldChild, Node newChild)
replaceChildNode in class Nodepublic ArrayCreationExpr clone() throws CloneNotSupportedException
clone in class ExpressionCloneNotSupportedExceptionCopyright © 2018. All rights reserved.