Uses of Interface
javax.lang.model.element.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
Modifier 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
Modifier and TypeMethodDescriptionMemberSelectTree.getIdentifier()
Returns the name of the member to be selected.BreakTree.getLabel()
Returns the label for thisbreak
statement.ContinueTree.getLabel()
Returns the label for thiscontinue
statement.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
Modifier and TypeMethodDescriptionDocTreeFactory.newAttributeTree
(Name name, AttributeTree.ValueKind vkind, List<? extends DocTree> value) Creates a newAttributeTree
object, to represent an attribute in an HTML element or tag.DocTreeFactory.newEndElementTree
(Name name) Creates a newEndElement
object, to represent the end of an HTML element.DocTreeFactory.newEntityTree
(Name name) Creates a newEntityTree
object, to represent an HTML entity.DocTreeFactory.newIdentifierTree
(Name name) Creates a newIdentifierTree
object, to represent an identifier, such as in a@param
tag.DocTreeFactory.newStartElementTree
(Name name, List<? extends DocTree> attrs, boolean selfClosing) Creates a newStartElementTree
object, to represent the start of an HTML element.DocTreeFactory.newSystemPropertyTree
(Name propertyName) Creates a newSystemPropertyTree
object, to represent a{@systemProperty }
tag.DocTreeFactory.newUnknownBlockTagTree
(Name name, List<? extends DocTree> content) Creates a newUnknownBlockTagTree
object, to represent an unrecognized block tag.DocTreeFactory.newUnknownInlineTagTree
(Name name, List<? extends DocTree> content) Creates a newUnknownInlineTagTree
object, to represent an unrecognized inline tag. -
Uses of Name in javax.lang.model.element
Modifier 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
Modifier 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.