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

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

Introduction

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

The text is from its open source code.

Field

SimplePropertyDescriptorIDENTIFIER_PROPERTY
The "identifier" structural property of this node type (type: String ).

Constructor

SimpleName(AST ast)
Creates a new AST node for a simple name owned by the given AST.

Method

voidaccept(ASTVisitor visitor)
Accepts the given visitor on a visit of the current node.
ASTgetAST()
Returns this node's AST.
StringgetFullyQualifiedName()
Returns the standard dot-separated representation of this name.
StringgetIdentifier()
Returns this node's identifier.
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.
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.
voidinternalSetIdentifier(String ident)
booleanisDeclaration()
Returns whether this simple name represents a name that is being defined, as opposed to one being referenced.
IBindingresolveBinding()
Resolves and returns the binding for the entity referred to by this name.
ObjectresolveConstantExpressionValue()
Resolves and returns the compile-time constant expression value as specified in JLS2 15.28, if this expression has one.
ITypeBindingresolveTypeBinding()
Resolves and returns the binding for the type of this expression.
voidsetIdentifier(String identifier)
Sets the identifier of this node to the given value.
voidsetProperty(String propertyName, Object data)
Sets the named property of this node to the given value, or to null to clear it.
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.
StringtoString()
Returns a string representation of this node suitable for debugging purposes only.