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

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

Introduction

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

The text is from its open source code.

Field

ChildPropertyDescriptorTYPE_PROPERTY
The "type" structural property of this node type (child type: Type ).
ASTNode.NodeListmodifiers
The extended modifiers (element type: IExtendedModifier ).

Constructor

VariableDeclarationExpression(AST ast)
Creates a new unparented local variable declaration expression node owned by the given AST.

Method

voidaccept(ASTVisitor visitor)
Accepts the given visitor on a visit of the current node.
Listfragments()
Returns the live list of variable declaration fragments in this expression.
ASTgetAST()
Returns this node's AST.
intgetFlags()
Returns the flags associated with this node.
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.
intgetModifiers()
Returns the modifiers explicitly specified on this 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.
TypegetType()
Returns the base type declared in this variable declaration.
voidinternalSetModifiers(int pmodifiers)
Internal synonym for deprecated method.
ITypeBindingresolveTypeBinding()
Resolves and returns the binding for the type of this expression.
voidsetFlags(int flags)
Sets the flags associated with this node to the given value.
voidsetModifiers(int modifiers)
Sets the modifiers explicitly specified on this declaration (JLS2 API only).
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.
voidsetType(Type type)
Sets the base type declared in this variable declaration to the given type.