Example usage for Java org.eclipse.jdt.core.dom SingleVariableDeclaration fields, constructors, methods, implement or subclass
The text is from its open source code.
ChildListPropertyDescriptor | MODIFIERS2_PROPERTY The "modifiers" structural property of this node type (element type: IExtendedModifier ) (added in JLS3 API). |
ChildPropertyDescriptor | TYPE_PROPERTY The "type" structural property of this node type (child type: Type ). |
SimplePropertyDescriptor | VARARGS_PROPERTY The "varargs" structural property of this node type (type: Boolean ) (added in JLS3 API). |
ChildPropertyDescriptor | NAME_PROPERTY The "name" structural property of this node type (child type: SimpleName ). |
ASTNode.NodeList | modifiers The extended modifiers (element type: IExtendedModifier ). |
ASTNode.NodeList | varargsAnnotations The type annotations on the varargs token (element type: Annotation ). |
SingleVariableDeclaration(AST ast) Creates a new AST node for a variable declaration owned by the given AST. |
int | getModifiers() Returns the modifiers explicitly specified on this declaration. |
Type | getType() Returns the type of the variable declared in this variable declaration, exclusive of any extra array dimensions or the varargs dimension. |
void | internalSetModifiers(int pmodifiers) Internal synonym for deprecated method. |
boolean | isVarargs() Returns whether this declaration declares the last parameter of a variable arity method (added in JLS3 API). |
void | setModifiers(int modifiers) Sets the modifiers explicitly specified on this declaration (JLS2 API only). |
void | setType(Type type) Sets the type of the variable declared in this variable declaration to the given type, exclusive of any extra array dimensions. |
void | setVarargs(boolean variableArity) Sets whether this declaration declares the last parameter of a variable arity method (added in JLS3 API). |