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

    Modifier and Type
    Class
    Description
    class 
    AST node for a module qualified name.
    class 
    AST node for a qualified name.
    class 
    AST node for a simple name.
    Fields in org.eclipse.jdt.core.dom declared as Name
    Modifier and Type
    Field
    Description
    protected Name
    ModulePackageAccess.name
    The package name; lazily initialized; defaults to a unspecified, legal Java identifier.
    Methods in org.eclipse.jdt.core.dom that return Name
    Modifier and Type
    Method
    Description
    ModuleQualifiedName.getModuleQualifier()
    Returns the qualifier part of this qualified name.
    ClassInstanceCreation.getName()
    Deprecated.
    In the JLS3 API, this method is replaced by ClassInstanceCreation.getType(), which returns a Type instead of a Name.
    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, or null if there is none.
    MethodRef.getQualifier()
    Returns the qualifier of this method reference, or null 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, or null if there is none.
    SuperMethodInvocation.getQualifier()
    Returns the qualifier of this "super" method invocation expression, or null if there is none.
    SuperMethodReference.getQualifier()
    Returns the qualifier of this "super" method reference, or null if there is none.
    ThisExpression.getQualifier()
    Returns the qualifier of this "this" expression, or null if there is none.
    TypeDeclaration.getSuperclass()
    Deprecated.
    In the JLS3 API, this method is replaced by TypeDeclaration.getSuperclassType(), which returns a Type instead of a Name.
    Annotation.getTypeName()
    Returns the annotation type name of this annotation.
    AST.newName(String qualifiedName)
    Creates and returns a new unparented name node for the given name.
    AST.newName(String[] identifiers)
    Creates and returns a new unparented name node for the given name segments.
    Methods in org.eclipse.jdt.core.dom with parameters of type Name
    Modifier and Type
    Method
    Description
    AST.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
    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
    ImportDeclaration.setName(Name name)
    Sets the name of this import declaration to the given name.
    void
    ModuleDeclaration.setName(Name name)
    Sets the module name in to the given name.
    void
    ModulePackageAccess.setName(Name name)
    Sets the name of the package to the given name.
    void
    ModuleQualifiedName.setName(Name name)
    Sets the name part of this qualified name to the given simple name.
    void
    PackageDeclaration.setName(Name name)
    Sets the package name of this package declaration to the given name.
    void
    ProvidesDirective.setName(Name name)
    Sets the name of the service.
    void
    RequiresDirective.setName(Name name)
    Sets the module name in requires directive to the given name.
    void
    SimpleType.setName(Name typeName)
    Sets the name of this simple type to the given name.
    void
    UsesDirective.setName(Name name)
    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 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.