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

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

Introduction

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

The text is from its open source code.

Subclass

org.eclipse.jdt.core.dom.VariableDeclaration has subclasses.
Click this link to see all its subclasses.

Method

voidaccept(ASTVisitor visitor)
Accepts the given visitor on a visit of the current node.
ASTgetAST()
Returns this node's AST.
intgetExtraDimensions()
Returns the number of extra array dimensions over and above the explicitly-specified type.
ExpressiongetInitializer()
Returns the initializer of this variable declaration, or null if there is none.
intgetLength()
Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends.
StructuralPropertyDescriptorgetLocationInParent()
Returns the location of this node within its parent, or null if this is a root node.
SimpleNamegetName()
Returns the name of the variable declared in this variable declaration.
ASTNodegetParent()
Returns this node's parent node, or null if this is the root node.
intgetStartPosition()
Returns the character index into the original source file indicating where the source fragment corresponding to this node begins.
ObjectgetStructuralProperty(StructuralPropertyDescriptor property)
Returns the value of the given structural property for this node.
IVariableBindingresolveBinding()
Resolves and returns the binding for the variable declared in this variable declaration.
voidsetExtraDimensions(int dimensions)
Sets the number of extra array dimensions over and above the explicitly-specified type.
voidsetInitializer(Expression initializer)
Sets or clears the initializer of this variable declaration.
voidsetName(SimpleName variableName)
Sets the name of the variable declared in this variable declaration to the given name.
StringtoString()
Returns a string representation of this node suitable for debugging purposes only.