public final class VariableDeclarationExpr extends Expression implements NodeWithElementType<VariableDeclarationExpr>, NodeWithModifiers<VariableDeclarationExpr>, NodeWithAnnotations<VariableDeclarationExpr>, NodeWithVariables<VariableDeclarationExpr>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION| Constructor and Description |
|---|
VariableDeclarationExpr() |
VariableDeclarationExpr(EnumSet<Modifier> modifiers,
Type elementType,
NodeList<VariableDeclarator> variables) |
VariableDeclarationExpr(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type elementType,
NodeList<VariableDeclarator> variables,
NodeList<ArrayBracketPair> arrayBracketPairsAfterType) |
VariableDeclarationExpr(Type elementType,
NodeList<VariableDeclarator> variables) |
VariableDeclarationExpr(Type elementType,
String variableName) |
VariableDeclarationExpr(Type elementType,
String variableName,
Modifier... modifiers) |
VariableDeclarationExpr(Type elementType,
VariableDeclarator var) |
VariableDeclarationExpr(Type elementType,
VariableDeclarator var,
Modifier... modifiers) |
addOrphanComment, clone, containsWithin, equals, getAllContainedComments, getBackwardsCompatibleChildrenNodes, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hashCode, isPositionedAfter, isPositionedBefore, remove, setAsParentNodeOf, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnitfinalize, getClass, notify, notifyAll, wait, wait, waitsetElementType, setElementTypeaddModifier, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatileaddAnnotation, addAnnotation, addMarkerAnnotation, addMarkerAnnotation, addSingleMemberAnnotation, addSingleMemberAnnotation, getAnnotationByClass, getAnnotationByName, isAnnotationPresent, isAnnotationPresentpublic VariableDeclarationExpr()
public VariableDeclarationExpr(Type elementType, VariableDeclarator var)
public VariableDeclarationExpr(Type elementType, String variableName, Modifier... modifiers)
public VariableDeclarationExpr(Type elementType, VariableDeclarator var, Modifier... modifiers)
public VariableDeclarationExpr(Type elementType, NodeList<VariableDeclarator> variables)
public VariableDeclarationExpr(EnumSet<Modifier> modifiers, Type elementType, NodeList<VariableDeclarator> variables)
public VariableDeclarationExpr(Range range, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type elementType, NodeList<VariableDeclarator> variables, NodeList<ArrayBracketPair> arrayBracketPairsAfterType)
public static VariableDeclarationExpr create(Type type, String name)
VariableDeclarationExpr.VariableDeclarationExprpublic <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic NodeList<AnnotationExpr> getAnnotations()
getAnnotations in interface NodeWithAnnotations<VariableDeclarationExpr>public EnumSet<Modifier> getModifiers()
getModifiers in interface NodeWithModifiers<VariableDeclarationExpr>Modifierpublic Type getElementType()
getElementType in interface NodeWithElementType<VariableDeclarationExpr>public NodeList<VariableDeclarator> getVariables()
getVariables in interface NodeWithVariables<VariableDeclarationExpr>public VariableDeclarationExpr setAnnotations(NodeList<AnnotationExpr> annotations)
setAnnotations in interface NodeWithAnnotations<VariableDeclarationExpr>public VariableDeclarationExpr setModifiers(EnumSet<Modifier> modifiers)
setModifiers in interface NodeWithModifiers<VariableDeclarationExpr>public VariableDeclarationExpr setElementType(Type elementType)
setElementType in interface NodeWithElementType<VariableDeclarationExpr>elementType - the element elementTypepublic VariableDeclarationExpr setVariables(NodeList<VariableDeclarator> variables)
setVariables in interface NodeWithVariables<VariableDeclarationExpr>public NodeList<ArrayBracketPair> getArrayBracketPairsAfterElementType()
getArrayBracketPairsAfterElementType in interface NodeWithElementType<VariableDeclarationExpr>public VariableDeclarationExpr setArrayBracketPairsAfterElementType(NodeList<ArrayBracketPair> arrayBracketPairsAfterType)
setArrayBracketPairsAfterElementType in interface NodeWithElementType<VariableDeclarationExpr>Copyright © 2007–2016. All rights reserved.