|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.jsdt.core.dom.ASTNode
org.eclipse.wst.jsdt.core.dom.Expression
org.eclipse.wst.jsdt.core.dom.Name
org.eclipse.wst.jsdt.core.dom.QualifiedName
public class QualifiedName
AST node for a qualified name. A qualified name is defined recursively as a simple name preceded by a name, which qualifies it. Expressing it this way means that the qualifier and the simple name get their own AST nodes.
QualifiedName: Name . SimpleName
See FieldAccess
for guidelines on handling other expressions
that resemble qualified names.
Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
Field Summary | |
---|---|
static ChildPropertyDescriptor |
NAME_PROPERTY
The "name" structural property of this node type. |
static ChildPropertyDescriptor |
QUALIFIER_PROPERTY
The "qualifier" structural property of this node type. |
Method Summary | |
---|---|
SimpleName |
getName()
Returns the name part of this qualified name. |
Name |
getQualifier()
Returns the qualifier part of this qualified name. |
static java.util.List |
propertyDescriptors(int apiLevel)
Returns a list of structural property descriptors for this node type. |
void |
setName(SimpleName name)
Sets the name part of this qualified name to the given simple name. |
void |
setQualifier(Name qualifier)
Sets the qualifier of this qualified name to the given name. |
Methods inherited from class org.eclipse.wst.jsdt.core.dom.Name |
---|
getFullyQualifiedName, isQualifiedName, isSimpleName, resolveBinding |
Methods inherited from class org.eclipse.wst.jsdt.core.dom.Expression |
---|
resolveBoxing, resolveConstantExpressionValue, resolveTypeBinding, resolveUnboxing |
Methods inherited from class org.eclipse.wst.jsdt.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 |
Field Detail |
---|
public static final ChildPropertyDescriptor QUALIFIER_PROPERTY
public static final ChildPropertyDescriptor NAME_PROPERTY
Method Detail |
---|
public static java.util.List propertyDescriptors(int apiLevel)
apiLevel
- the API level; one of the
AST.JLS*
constants
StructuralPropertyDescriptor
)public Name getQualifier()
public void setQualifier(Name qualifier)
qualifier
- the qualifier of this qualified name
java.lang.IllegalArgumentException
- if:
public SimpleName getName()
public void setName(SimpleName name)
name
- the identifier of this qualified name
java.lang.IllegalArgumentException
- if:
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |