Package | Description |
---|---|
javax.lang.model.element |
Interfaces used to model elements of the Java programming language.
|
javax.lang.model.util |
Utilities to assist in the processing of
program elements and
types.
|
Modifier and Type | Method and Description |
---|---|
Name |
PackageElement.getQualifiedName()
Returns the fully qualified name of this package.
|
Name |
QualifiedNameable.getQualifiedName()
Returns the fully qualified name of an element.
|
Name |
TypeElement.getQualifiedName()
Returns the fully qualified name of this type element.
|
Name |
PackageElement.getSimpleName()
Returns the simple name of this package.
|
Name |
VariableElement.getSimpleName()
Returns the simple name of this variable element.
|
Name |
ExecutableElement.getSimpleName()
Returns the simple name of a constructor, method, or
initializer.
|
Name |
TypeElement.getSimpleName()
Returns the simple name of this type element.
|
Name |
Element.getSimpleName()
Returns the simple (unqualified) name of this element.
|
Modifier and Type | Method and Description |
---|---|
Name |
Elements.getBinaryName(TypeElement type)
Returns the binary name of a type element.
|
Name |
Elements.getName(CharSequence cs)
Return a name with the same sequence of characters as the
argument.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.