Class SingleVariableDeclaration

java.lang.Object

public class SingleVariableDeclaration extends VariableDeclaration
Single variable declaration AST node type. Single variable declaration nodes are used in a limited number of places, including formal parameter lists and catch clauses. They are not used for field declarations and regular variable declaration statements.
 SingleVariableDeclaration:
    { ExtendedModifier } Type {Annotation} [ ... ] Identifier { Dimension } [ = Expression ]
 

Note: There's currently no construct in the Java language that allows an initializer on a SingleVariableDeclaration.

Since:
2.0