final int x=3, y=55
| Modifier and Type | Field and Description |
|---|---|
| private NodeList | |
| private NodeList | |
| private NodeList |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public | |
| public | VariableDeclarationExpr(final NodeList<Modifier> modifiers, final NodeList<VariableDeclarator> variables)
|
| public | VariableDeclarationExpr(final NodeList<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<VariableDeclarator> variables)
|
| public | VariableDeclarationExpr(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private. |
| annotations | back to summary |
|---|---|
| private NodeList<AnnotationExpr> annotations | |
| modifiers | back to summary |
|---|---|
| private NodeList<Modifier> modifiers | |
| variables | back to summary |
|---|---|
| private NodeList<VariableDeclarator> variables
| |
| VariableDeclarationExpr | back to summary |
|---|---|
| public VariableDeclarationExpr() | |
| VariableDeclarationExpr | back to summary |
|---|---|
| public VariableDeclarationExpr(final Type type, String variableName) | |
| VariableDeclarationExpr | back to summary |
|---|---|
| public VariableDeclarationExpr(VariableDeclarator var) | |
| VariableDeclarationExpr | back to summary |
|---|---|
| public VariableDeclarationExpr(final Type type, String variableName, Modifier... modifiers) | |
| VariableDeclarationExpr | back to summary |
|---|---|
| public VariableDeclarationExpr(VariableDeclarator var, Modifier... modifiers) | |
| VariableDeclarationExpr | back to summary |
|---|---|
| public VariableDeclarationExpr(final NodeList<VariableDeclarator> variables) | |
| VariableDeclarationExpr | back to summary |
|---|---|
| public VariableDeclarationExpr(final NodeList<Modifier> modifiers, final NodeList<VariableDeclarator> variables) | |
| VariableDeclarationExpr | back to summary |
|---|---|
public VariableDeclarationExpr(final NodeList<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<VariableDeclarator> variables)
| |
| VariableDeclarationExpr | back to summary |
|---|---|
| public VariableDeclarationExpr(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables) This constructor is used by the parser and is considered private.
| |
| accept | back to summary |
|---|---|
| public <R, A> R accept(final GenericVisitor<R, A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| accept | back to summary |
|---|---|
| public <A> void accept(final VoidVisitor<A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| asVariableDeclarationExpr | back to summary |
|---|---|
| public VariableDeclarationExpr asVariableDeclarationExpr() Overrides com.
| |
| clone | back to summary |
|---|---|
| public VariableDeclarationExpr clone() Overrides com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getAnnotations | back to summary |
|---|---|
| public NodeList Implements com.
| |
| getMetaModel | back to summary |
|---|---|
| public VariableDeclarationExprMetaModel getMetaModel() Overrides com.
| |
| getModifiers | back to summary |
|---|---|
| public NodeList Implements com. Return the modifiers of this variable declaration.
| |
| getVariables | back to summary |
|---|---|
| public NodeList Implements com.
| |
| ifVariableDeclarationExpr | back to summary |
|---|---|
| public void ifVariableDeclarationExpr(Consumer<VariableDeclarationExpr> action) Overrides com.
| |
| isVariableDeclarationExpr | back to summary |
|---|---|
| public boolean isVariableDeclarationExpr() Overrides com.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Node node) Overrides com.
| |
| replace | back to summary |
|---|---|
| public boolean replace(Node node, Node replacementNode) Overrides com.
| |
| setAnnotations | back to summary |
|---|---|
| public VariableDeclarationExpr setAnnotations(final NodeList<AnnotationExpr> annotations) Implements com.
| |
| setModifiers | back to summary |
|---|---|
| public VariableDeclarationExpr setModifiers(final NodeList<Modifier> modifiers) Implements com.
| |
| setVariables | back to summary |
|---|---|
| public VariableDeclarationExpr setVariables(final NodeList<VariableDeclarator> variables) Implements com.
| |
| toVariableDeclarationExpr | back to summary |
|---|---|
| public Optional Overrides com.
| |