|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.core.dom.ASTNode
org.aspectj.org.eclipse.jdt.core.dom.Type
org.aspectj.org.eclipse.jdt.core.dom.AnnotatableType
org.aspectj.org.eclipse.jdt.core.dom.NameQualifiedType
public class NameQualifiedType
Node for a name-qualified type (added in JLS8 API).
NameQualifiedType:
Name . { Annotation } SimpleName
The qualifier can resolve to a type or to a package.
Note that if no annotation is present, then a name-qualified type can
also be represented by a SimpleType or a QualifiedType, see the discussion
in QualifiedType.
SimpleType,
QualifiedType| Field Summary | |
|---|---|
static ChildListPropertyDescriptor |
ANNOTATIONS_PROPERTY
The "annotations" structural property of this node type (element type: Annotation). |
static ChildPropertyDescriptor |
NAME_PROPERTY
The "name" structural property of this node type (child type: SimpleName). |
static ChildPropertyDescriptor |
QUALIFIER_PROPERTY
The "qualifier" structural property of this node type (child type: Name). |
| Method Summary | |
|---|---|
SimpleName |
getName()
Returns the name part of this name-qualified type. |
Name |
getQualifier()
Returns the qualifier of this name-qualified type. |
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 name-qualified type to the given simple name. |
void |
setQualifier(Name name)
Sets the qualifier of this name-qualified type to the given name. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.AnnotatableType |
|---|
annotations, getAnnotationsProperty |
| Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.Type |
|---|
isAnnotatable, isArrayType, isIntersectionType, isNameQualifiedType, isParameterizedType, isPrimitiveType, isQualifiedType, isSimpleType, isUnionType, isWildcardType, resolveBinding |
| Methods inherited from class org.aspectj.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 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ChildPropertyDescriptor QUALIFIER_PROPERTY
Name).
public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY
Annotation).
public static final ChildPropertyDescriptor NAME_PROPERTY
SimpleName).
| 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 name)
name - the new qualifier of this name-qualified type
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 | ||||||||