Uses of Class
org.eclipse.jdt.core.dom.Name
Packages that use 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
Subclasses of Name in org.eclipse.jdt.core.domModifier and TypeClassDescriptionclassAST node for a module qualified name.classAST node for a qualified name.classAST node for a simple name.Fields in org.eclipse.jdt.core.dom declared as NameModifier and TypeFieldDescriptionprotected NameModulePackageAccess.nameThe package name; lazily initialized; defaults to a unspecified, legal Java identifier.Methods in org.eclipse.jdt.core.dom that return NameModifier 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, ornullif there is none.MethodRef.getQualifier()Returns the qualifier of this method reference, ornullif 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, ornullif there is none.SuperMethodInvocation.getQualifier()Returns the qualifier of this "super" method invocation expression, ornullif there is none.SuperMethodReference.getQualifier()Returns the qualifier of this "super" method reference, ornullif there is none.ThisExpression.getQualifier()Returns the qualifier of this "this" expression, ornullif there is none.TypeDeclaration.getSuperclass()Deprecated.In the JLS3 API, this method is replaced byTypeDeclaration.getSuperclassType(), which returns aTypeinstead 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.Methods in org.eclipse.jdt.core.dom with parameters of type NameModifier 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.voidModuleQualifiedName.setModuleQualifier(Name moduleQualifier) Sets the qualifier of this qualified name to the given name.voidDeprecated.In the JLS3 API, this method is replaced byClassInstanceCreation.setType(Type), which expects aTypeinstead of aName.voidSets the name of this import declaration to the given name.voidSets the module name in to the given name.voidSets the name of the package to the given name.voidSets the name part of this qualified name to the given simple name.voidSets the package name of this package declaration to the given name.voidSets the name of the service.voidSets the module name in requires directive to the given name.voidSets the name of this simple type to the given name.voidSets the name of the service in this directive.voidMemberRef.setQualifier(Name name) Sets or clears the qualifier of this member reference.voidMethodRef.setQualifier(Name name) Sets or clears the qualifier of this method reference.voidNameQualifiedType.setQualifier(Name name) Sets the qualifier of this name-qualified type to the given name.voidQualifiedName.setQualifier(Name qualifier) Sets the qualifier of this qualified name to the given name.voidSuperFieldAccess.setQualifier(Name name) Sets or clears the qualifier of this "super" field access expression.voidSuperMethodInvocation.setQualifier(Name name) Sets or clears the qualifier of this "super" method invocation expression.voidSuperMethodReference.setQualifier(Name name) Sets the qualifier of this "super" method reference expression.voidThisExpression.setQualifier(Name name) Sets or clears the qualifier of this "this" expression.voidTypeDeclaration.setSuperclass(Name superclassName) Deprecated.In the JLS3 API, this method is replaced byTypeDeclaration.setSuperclassType(Type), which expects aTypeinstead of aName.voidAnnotation.setTypeName(Name typeName) Sets the annotation type name of this annotation.
ClassInstanceCreation.getType(), which returns aTypeinstead of aName.