|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jdt.core.dom.ASTNode | +--org.eclipse.jdt.core.dom.Expression | +--org.eclipse.jdt.core.dom.Name
Abstract base class for all AST nodes that represent names.
There are exactly two kinds of name: simple ones
(SimpleName
) and qualified ones (QualifiedName
).
Name: SimpleName QualifiedName
Field Summary |
Method Summary | |
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. |
Methods inherited from class org.eclipse.jdt.core.dom.Expression |
resolveTypeBinding |
Methods inherited from class org.eclipse.jdt.core.dom.ASTNode |
accept, copySubtree, copySubtrees, equals, getAST, getFlags, getLength, getNodeType, getParent, getProperty, getRoot, getStartPosition, properties, setFlags, setProperty, setSourceRange, subtreeBytes, subtreeMatch, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public final boolean isSimpleName()
SimpleName
).
true
if this is a simple name, and
false
otherwisepublic final boolean isQualifiedName()
QualifiedName
).
true
if this is a qualified name, and
false
otherwisepublic final IBinding resolveBinding()
Note that bindings are generally unavailable unless requested when the AST is being built.
null
if the binding cannot be
resolved
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |