Package | Description |
---|---|
org.eclipse.jdt.core.dom |
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
|
Modifier and Type | Class and Description |
---|---|
class |
QualifiedName
AST node for a qualified name.
|
class |
SimpleName
AST node for a simple name.
|
Modifier and Type | Method and Description |
---|---|
Name |
PackageDeclaration.getName()
Returns the package name of this package declaration.
|
Name |
ImportDeclaration.getName()
Returns the name imported by this declaration.
|
Name |
SimpleType.getName()
Returns the name of this simple type.
|
Name |
ClassInstanceCreation.getName()
Deprecated.
In the JLS3 API, this method is replaced by
ClassInstanceCreation.getType() , which returns a Type instead of a
Name . |
Name |
SuperFieldAccess.getQualifier()
Returns the qualifier of this "super" field access expression, or
null if there is none. |
Name |
NameQualifiedType.getQualifier()
Returns the qualifier of this name-qualified type.
|
Name |
ThisExpression.getQualifier()
Returns the qualifier of this "this" expression, or
null if there is none. |
Name |
SuperMethodInvocation.getQualifier()
Returns the qualifier of this "super" method invocation expression, or
null if there is none. |
Name |
QualifiedName.getQualifier()
Returns the qualifier part of this qualified name.
|
Name |
MemberRef.getQualifier()
Returns the qualifier of this member reference, or
null if there is none. |
Name |
MethodRef.getQualifier()
Returns the qualifier of this method reference, or
null if there is none. |
Name |
SuperMethodReference.getQualifier()
Returns the qualifier of this "super" method reference, or
null if there is none. |
Name |
TypeDeclaration.getSuperclass()
Deprecated.
In the JLS3 API, this method is replaced by
TypeDeclaration.getSuperclassType() , which returns a Type
instead of a Name . |
Name |
Annotation.getTypeName()
Returns the annotation type name of this annotation.
|
Name |
AST.newName(String qualifiedName)
Creates and returns a new unparented name node for the given name.
|
Name |
AST.newName(String[] identifiers)
Creates and returns a new unparented name node for the given name
segments.
|
Modifier and Type | Method and Description |
---|---|
NameQualifiedType |
AST.newNameQualifiedType(Name qualifier,
SimpleName name)
Creates and returns a new unparented name qualified type node with
the given qualifier and name.
|
QualifiedName |
AST.newQualifiedName(Name qualifier,
SimpleName name)
Creates and returns a new unparented qualified name node for the given
qualifier and simple name child node.
|
SimpleType |
AST.newSimpleType(Name typeName)
Creates and returns a new unparented simple type node with the given
type name.
|
void |
PackageDeclaration.setName(Name name)
Sets the package name of this package declaration to the given name.
|
void |
ImportDeclaration.setName(Name name)
Sets the name of this import declaration to the given name.
|
void |
SimpleType.setName(Name typeName)
Sets the name of this simple type to the given name.
|
void |
ClassInstanceCreation.setName(Name name)
Deprecated.
In the JLS3 API, this method is replaced by
ClassInstanceCreation.setType(Type) , which expects a Type instead of
a Name . |
void |
SuperFieldAccess.setQualifier(Name name)
Sets or clears the qualifier of this "super" field access expression.
|
void |
NameQualifiedType.setQualifier(Name name)
Sets the qualifier of this name-qualified type to the given name.
|
void |
ThisExpression.setQualifier(Name name)
Sets or clears the qualifier of this "this" expression.
|
void |
SuperMethodInvocation.setQualifier(Name name)
Sets or clears the qualifier of this "super" method invocation expression.
|
void |
QualifiedName.setQualifier(Name qualifier)
Sets the qualifier of this qualified name to the given name.
|
void |
MemberRef.setQualifier(Name name)
Sets or clears the qualifier of this member reference.
|
void |
MethodRef.setQualifier(Name name)
Sets or clears the qualifier of this method reference.
|
void |
SuperMethodReference.setQualifier(Name name)
Sets the qualifier of this "super" method reference expression.
|
void |
TypeDeclaration.setSuperclass(Name superclassName)
Deprecated.
In the JLS3 API, this method is replaced by
TypeDeclaration.setSuperclassType(Type) , which expects a
Type instead of a Name . |
void |
Annotation.setTypeName(Name typeName)
Sets the annotation type name of this annotation.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.