Java org.eclipse.jdt.core.dom SingleVariableDeclaration fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom SingleVariableDeclaration fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom SingleVariableDeclaration.

The text is from its open source code.

Field

ChildListPropertyDescriptorMODIFIERS2_PROPERTY
The "modifiers" structural property of this node type (element type: IExtendedModifier ) (added in JLS3 API).
ChildPropertyDescriptorTYPE_PROPERTY
The "type" structural property of this node type (child type: Type ).
SimplePropertyDescriptorVARARGS_PROPERTY
The "varargs" structural property of this node type (type: Boolean ) (added in JLS3 API).
ChildPropertyDescriptorNAME_PROPERTY
The "name" structural property of this node type (child type: SimpleName ).
ASTNode.NodeListmodifiers
The extended modifiers (element type: IExtendedModifier ).
ASTNode.NodeListvarargsAnnotations
The type annotations on the varargs token (element type: Annotation ).

Constructor

SingleVariableDeclaration(AST ast)
Creates a new AST node for a variable declaration owned by the given AST.

Method

intgetModifiers()
Returns the modifiers explicitly specified on this declaration.
TypegetType()
Returns the type of the variable declared in this variable declaration, exclusive of any extra array dimensions or the varargs dimension.
voidinternalSetModifiers(int pmodifiers)
Internal synonym for deprecated method.
booleanisVarargs()
Returns whether this declaration declares the last parameter of a variable arity method (added in JLS3 API).
voidsetModifiers(int modifiers)
Sets the modifiers explicitly specified on this declaration (JLS2 API only).
voidsetType(Type type)
Sets the type of the variable declared in this variable declaration to the given type, exclusive of any extra array dimensions.
voidsetVarargs(boolean variableArity)
Sets whether this declaration declares the last parameter of a variable arity method (added in JLS3 API).