Class VariableDeclarationExpr

java.lang.Object
com.github.javaparser.ast.Node
com.github.javaparser.ast.expr.Expression
com.github.javaparser.ast.expr.VariableDeclarationExpr
All Implemented Interfaces:
NodeWithFinalModifier<VariableDeclarationExpr>, NodeWithAnnotations<VariableDeclarationExpr>, NodeWithModifiers<VariableDeclarationExpr>, NodeWithRange<Node>, NodeWithTokenRange<Node>, NodeWithVariables<VariableDeclarationExpr>, Observable, Visitable, HasParentNode<Node>, Cloneable

A declaration of variables. It is an expression, so it can be put in places like the initializer of a for loop, or the resources part of the try statement.
final int x=3, y=55
All annotations preceding the type will be set on this object, not on the type. JavaParser doesn't know if it they are applicable to the method or the type.
Author:
Julio Vilmar Gesser