public final class ArrayCreationExpr extends Expression implements NodeWithType<ArrayCreationExpr>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE| Constructor and Description |
|---|
ArrayCreationExpr() |
ArrayCreationExpr(Range range,
Type type) |
ArrayCreationExpr(Range range,
Type type,
List<ArrayCreationLevel> levels,
ArrayInitializerExpr initializer) |
ArrayCreationExpr(Type type) |
ArrayCreationExpr(Type type,
List<ArrayCreationLevel> levels,
ArrayInitializerExpr initializer) |
| 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.
|
ArrayInitializerExpr |
getInitializer() |
List<ArrayCreationLevel> |
getLevels() |
Type |
getType()
Gets the type
|
ArrayCreationExpr |
setInitializer(ArrayInitializerExpr initializer) |
ArrayCreationExpr |
setLevels(List<ArrayCreationLevel> levels) |
ArrayCreationExpr |
setType(Type type)
Sets the type
|
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnitfinalize, getClass, notify, notifyAll, wait, wait, waitsetType, setTypepublic ArrayCreationExpr()
public ArrayCreationExpr(Type type, List<ArrayCreationLevel> levels, ArrayInitializerExpr initializer)
public ArrayCreationExpr(Range range, Type type, List<ArrayCreationLevel> levels, ArrayInitializerExpr initializer)
public ArrayCreationExpr(Type type)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic ArrayInitializerExpr getInitializer()
public Type getType()
NodeWithTypegetType in interface NodeWithType<ArrayCreationExpr>public ArrayCreationExpr setInitializer(ArrayInitializerExpr initializer)
public ArrayCreationExpr setType(Type type)
NodeWithTypesetType in interface NodeWithType<ArrayCreationExpr>type - the typepublic List<ArrayCreationLevel> getLevels()
public ArrayCreationExpr setLevels(List<ArrayCreationLevel> levels)
Copyright © 2007–2016. All rights reserved.