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(Type type,
int arrayCount,
ArrayInitializerExpr initializer) |
ArrayCreationExpr(Type type,
List<Expression> dimensions,
int arrayCount) |
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.
|
int |
getArrayCount() |
List<Expression> |
getDimensions() |
ArrayInitializerExpr |
getInitializer() |
Type |
getType() |
void |
setArrayCount(int arrayCount) |
void |
setDimensions(List<Expression> dimensions) |
void |
setInitializer(ArrayInitializerExpr initializer) |
void |
setType(Type type) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public ArrayCreationExpr()
public ArrayCreationExpr(Type type, int arrayCount, ArrayInitializerExpr initializer)
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(int beginLine, int beginColumn, int endLine, int endColumn, Type type, List<Expression> dimensions, int arrayCount)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public 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)