/** * Creates a new AST node for a variable declaration owned by the given AST. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ VariableDeclaration(AST ast) { super(ast); if (ast.apiLevel >= AST.JLS8) { this.extraDimensions = new ASTNode.NodeList(getExtraDimensions2Property()); } }
/** * Creates a new AST node for a variable declaration owned by the given AST. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ VariableDeclaration(AST ast) { super(ast); if (ast.apiLevel >= AST.JLS8_INTERNAL) { this.extraDimensions = new ASTNode.NodeList(getExtraDimensions2Property()); } }
/** * Creates a new AST node for a variable declaration owned by the given AST. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ VariableDeclaration(AST ast) { super(ast); if (ast.apiLevel >= AST.JLS8) { this.extraDimensions = new ASTNode.NodeList(getExtraDimensions2Property()); } }
/** * Creates a new AST node for a variable declaration owned by the given AST. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ VariableDeclaration(AST ast) { super(ast); if (ast.apiLevel >= AST.JLS8_INTERNAL) { this.extraDimensions = new ASTNode.NodeList(getExtraDimensions2Property()); } }
/** * Creates a new AST node for a variable declaration owned by the given AST. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ VariableDeclaration(AST ast) { super(ast); if (ast.apiLevel >= AST.JLS8) { this.extraDimensions = new ASTNode.NodeList(getExtraDimensions2Property()); } }