|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.dom.ASTNode
org.eclipse.jdt.core.dom.Expression
org.eclipse.jdt.core.dom.Name
public abstract class 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 | |
---|---|
java.lang.String |
getFullyQualifiedName()
Returns the standard dot-separated representation of this name. |
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 |
---|
resolveBoxing, resolveConstantExpressionValue, resolveTypeBinding, resolveUnboxing |
Methods inherited from class org.eclipse.jdt.core.dom.ASTNode |
---|
accept, copySubtree, copySubtrees, delete, equals, getAST, getFlags, getLength, getLocationInParent, getNodeType, getParent, getProperty, getRoot, getStartPosition, getStructuralProperty, hashCode, nodeClassForType, properties, setFlags, setProperty, setSourceRange, setStructuralProperty, structuralPropertiesForType, subtreeBytes, subtreeMatch, toString |
Methods inherited from class java.lang.Object |
---|
getClass, 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
resolvedpublic final java.lang.String getFullyQualifiedName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |