Example usage for Java org.eclipse.jdt.core.dom Name fields, constructors, methods, implement or subclass
The text is from its open source code.
void | accept(ASTVisitor visitor) Accepts the given visitor on a visit of the current node. |
boolean | equals(Object obj) The ASTNode implementation of this Object method uses object identity (==). |
AST | getAST() Returns this node's AST. |
String | getFullyQualifiedName() Returns the standard dot-separated representation of this name. |
int | getLength() Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends. |
StructuralPropertyDescriptor | getLocationInParent() Returns the location of this node within its parent, or null if this is a root node. |
int | getNodeType() Returns an integer value identifying the type of this concrete AST node. |
ASTNode | getParent() Returns this node's parent node, or null if this is the root node. |
ASTNode | getRoot() Returns the root node at or above this node; returns this node if it is a root. |
int | getStartPosition() Returns the character index into the original source file indicating where the source fragment corresponding to this node begins. |
boolean | isQualifiedName() Returns whether this name is a qualified name ( QualifiedName ). |
boolean | isSimpleName() Returns whether this name is a simple name ( SimpleName ). |
IBinding | resolveBinding() Resolves and returns the binding for the entity referred to by this name. |
ITypeBinding | resolveTypeBinding() Resolves and returns the binding for the type of this expression. |
void | setSourceRange(int startPosition, int length) Sets the source range of the original source file where the source fragment corresponding to this node was found. |
String | toString() Returns a string representation of this node suitable for debugging purposes only. |