Example usage for Java org.eclipse.jdt.core.dom SimpleName fields, constructors, methods, implement or subclass
The text is from its open source code.
SimplePropertyDescriptor | IDENTIFIER_PROPERTY The "identifier" structural property of this node type (type: String ). |
SimpleName(AST ast) Creates a new AST node for a simple name owned by the given AST. |
void | accept(ASTVisitor visitor) Accepts the given visitor on a visit of the current node. |
AST | getAST() Returns this node's AST. |
String | getFullyQualifiedName() Returns the standard dot-separated representation of this name. |
String | getIdentifier() Returns this node's identifier. |
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. |
ASTNode | getParent() Returns this node's parent node, or null if this is the root node. |
int | getStartPosition() Returns the character index into the original source file indicating where the source fragment corresponding to this node begins. |
void | internalSetIdentifier(String ident) |
boolean | isDeclaration() Returns whether this simple name represents a name that is being defined, as opposed to one being referenced. |
IBinding | resolveBinding() Resolves and returns the binding for the entity referred to by this name. |
Object | resolveConstantExpressionValue() Resolves and returns the compile-time constant expression value as specified in JLS2 15.28, if this expression has one. |
ITypeBinding | resolveTypeBinding() Resolves and returns the binding for the type of this expression. |
void | setIdentifier(String identifier) Sets the identifier of this node to the given value. |
void | setProperty(String propertyName, Object data) Sets the named property of this node to the given value, or to null to clear it. |
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. |