Uses of Interface
javax.lang.model.element.Name
Packages that use Name
Package
Description
Provides interfaces to represent documentation comments as abstract syntax
trees (AST).
Provides interfaces to represent source code as abstract syntax
trees (AST).
Provides utilities for operations on abstract syntax trees (AST).
Interfaces used to model elements of the Java programming language.
Utilities to assist in the processing of
program elements and
types.
-
Uses of Name in com.sun.source.doctree
Methods in com.sun.source.doctree that return NameModifier and TypeMethodDescriptionAttributeTree.getName()Returns the name of the attribute.EndElementTree.getName()Returns the name of this element.EntityTree.getName()Returns the name or value of the entity.IdentifierTree.getName()Returns the name of the identifier.StartElementTree.getName()Returns the name of the element.SystemPropertyTree.getPropertyName()Returns the specified system property name. -
Uses of Name in com.sun.source.tree
Methods in com.sun.source.tree that return NameModifier and TypeMethodDescriptionMemberSelectTree.getIdentifier()Returns the name of the member to be selected.BreakTree.getLabel()Returns the label for thisbreakstatement.ContinueTree.getLabel()Returns the label for thiscontinuestatement.LabeledStatementTree.getLabel()Returns the label.IdentifierTree.getName()Returns the name of the identifier.MemberReferenceTree.getName()Returns the name of the reference.MethodTree.getName()Returns the name of the method being declared.TypeParameterTree.getName()Returns the name of the type parameter.VariableTree.getName()Returns the name of the variable being declared or empty name if both the variable is unnamed and the preview features are enabled (Unnamed Patterns and Variables).ClassTree.getSimpleName()Returns the simple name of this type declaration. -
Uses of Name in com.sun.source.util
Methods in com.sun.source.util with parameters of type NameModifier and TypeMethodDescriptionDocTreeFactory.newAttributeTree(Name name, AttributeTree.ValueKind vkind, List<? extends DocTree> value) Creates a newAttributeTreeobject, to represent an attribute in an HTML element or tag.DocTreeFactory.newEndElementTree(Name name) Creates a newEndElementobject, to represent the end of an HTML element.DocTreeFactory.newEntityTree(Name name) Creates a newEntityTreeobject, to represent an HTML entity.DocTreeFactory.newIdentifierTree(Name name) Creates a newIdentifierTreeobject, to represent an identifier, such as in a@paramtag.DocTreeFactory.newStartElementTree(Name name, List<? extends DocTree> attrs, boolean selfClosing) Creates a newStartElementTreeobject, to represent the start of an HTML element.DocTreeFactory.newSystemPropertyTree(Name propertyName) Creates a newSystemPropertyTreeobject, to represent a{@systemProperty }tag.DocTreeFactory.newUnknownBlockTagTree(Name name, List<? extends DocTree> content) Creates a newUnknownBlockTagTreeobject, to represent an unrecognized block tag.DocTreeFactory.newUnknownInlineTagTree(Name name, List<? extends DocTree> content) Creates a newUnknownInlineTagTreeobject, to represent an unrecognized inline tag. -
Uses of Name in javax.lang.model.element
Methods in javax.lang.model.element that return NameModifier and TypeMethodDescriptionModuleElement.getQualifiedName()Returns the fully qualified name of this module.PackageElement.getQualifiedName()Returns the fully qualified name of this package.QualifiedNameable.getQualifiedName()Returns the fully qualified name of an element.TypeElement.getQualifiedName()Returns the fully qualified name of this class or interface element.Element.getSimpleName()Returns the simple (unqualified) name of this element.ExecutableElement.getSimpleName()Returns the simple name of a constructor, method, or initializer.ModuleElement.getSimpleName()Returns the simple name of this module.PackageElement.getSimpleName()Returns the simple name of this package.RecordComponentElement.getSimpleName()Returns the simple name of this record component.TypeElement.getSimpleName()Returns the simple name of this class or interface element.VariableElement.getSimpleName()Returns the simple name of this variable element. -
Uses of Name in javax.lang.model.util
Methods in javax.lang.model.util that return NameModifier and TypeMethodDescriptionElements.getBinaryName(TypeElement type) Returns the binary name of a type element.Elements.getName(CharSequence cs) Returns a name with the same sequence of characters as the argument.