Uses of Class
org.eclipse.jdt.core.dom.Name
Package
Description
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
-
Uses of Name in org.eclipse.jdt.core.dom
Modifier and TypeClassDescriptionclass
AST node for a module qualified name.class
AST node for a qualified name.class
AST node for a simple name.Modifier and TypeFieldDescriptionprotected Name
ModulePackageAccess.name
The package name; lazily initialized; defaults to a unspecified, legal Java identifier.Modifier and TypeMethodDescriptionModuleQualifiedName.getModuleQualifier()
Returns the qualifier part of this qualified name.ClassInstanceCreation.getName()
Deprecated.ImportDeclaration.getName()
Returns the name imported by this declaration.ModuleDeclaration.getName()
Returns the name of this module declaration.ModulePackageAccess.getName()
Returns the name of the package.ModuleQualifiedName.getName()
Returns the name part of this qualified name.PackageDeclaration.getName()
Returns the package name of this package declaration.ProvidesDirective.getName()
Returns the name of the service in this directive.RequiresDirective.getName()
Returns the module name referenced by this declaration.SimpleType.getName()
Returns the name of this simple type.UsesDirective.getName()
Returns the name of the service in this directive.MemberRef.getQualifier()
Returns the qualifier of this member reference, ornull
if there is none.MethodRef.getQualifier()
Returns the qualifier of this method reference, ornull
if there is none.NameQualifiedType.getQualifier()
Returns the qualifier of this name-qualified type.QualifiedName.getQualifier()
Returns the qualifier part of this qualified name.SuperFieldAccess.getQualifier()
Returns the qualifier of this "super" field access expression, ornull
if there is none.SuperMethodInvocation.getQualifier()
Returns the qualifier of this "super" method invocation expression, ornull
if there is none.SuperMethodReference.getQualifier()
Returns the qualifier of this "super" method reference, ornull
if there is none.ThisExpression.getQualifier()
Returns the qualifier of this "this" expression, ornull
if there is none.TypeDeclaration.getSuperclass()
Deprecated.In the JLS3 API, this method is replaced byTypeDeclaration.getSuperclassType()
, which returns aType
instead of aName
.Annotation.getTypeName()
Returns the annotation type name of this annotation.Creates and returns a new unparented name node for the given name.Creates and returns a new unparented name node for the given name segments.Modifier and TypeMethodDescriptionAST.newNameQualifiedType
(Name qualifier, SimpleName name) Creates and returns a new unparented name qualified type node with the given qualifier and name.AST.newQualifiedName
(Name qualifier, SimpleName name) Creates and returns a new unparented qualified name node for the given qualifier and simple name child node.AST.newSimpleType
(Name typeName) Creates and returns a new unparented simple type node with the given type name.void
ModuleQualifiedName.setModuleQualifier
(Name moduleQualifier) Sets the qualifier of this qualified name to the given name.void
Deprecated.In the JLS3 API, this method is replaced byClassInstanceCreation.setType(Type)
, which expects aType
instead of aName
.void
Sets the name of this import declaration to the given name.void
Sets the module name in to the given name.void
Sets the name of the package to the given name.void
Sets the name part of this qualified name to the given simple name.void
Sets the package name of this package declaration to the given name.void
Sets the name of the service.void
Sets the module name in requires directive to the given name.void
Sets the name of this simple type to the given name.void
Sets the name of the service in this directive.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
NameQualifiedType.setQualifier
(Name name) Sets the qualifier of this name-qualified type to the given name.void
QualifiedName.setQualifier
(Name qualifier) Sets the qualifier of this qualified name to the given name.void
SuperFieldAccess.setQualifier
(Name name) Sets or clears the qualifier of this "super" field access expression.void
SuperMethodInvocation.setQualifier
(Name name) Sets or clears the qualifier of this "super" method invocation expression.void
SuperMethodReference.setQualifier
(Name name) Sets the qualifier of this "super" method reference expression.void
ThisExpression.setQualifier
(Name name) Sets or clears the qualifier of this "this" expression.void
TypeDeclaration.setSuperclass
(Name superclassName) Deprecated.In the JLS3 API, this method is replaced byTypeDeclaration.setSuperclassType(Type)
, which expects aType
instead of aName
.void
Annotation.setTypeName
(Name typeName) Sets the annotation type name of this annotation.
ClassInstanceCreation.getType()
, which returns aType
instead of aName
.