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 |
---|---|
R |
ElementVisitor.visitPackage(PackageElement e,
P p)
Visits a package element.
|
Modifier and Type | Method and Description |
---|---|
PackageElement |
Elements.getPackageElement(CharSequence name)
Returns a package given its fully qualified name.
|
PackageElement |
Elements.getPackageOf(Element type)
Returns the package of an element.
|
Modifier and Type | Method and Description |
---|---|
static List<PackageElement> |
ElementFilter.packagesIn(Iterable<? extends Element> elements)
Returns a list of packages in
elements . |
static Set<PackageElement> |
ElementFilter.packagesIn(Set<? extends Element> elements)
Returns a set of packages in
elements . |
Modifier and Type | Method and Description |
---|---|
R |
ElementKindVisitor6.visitPackage(PackageElement e,
P p)
Visits a package element.
|
R |
SimpleElementVisitor6.visitPackage(PackageElement e,
P p)
Visits a package element.
|
R |
ElementScanner6.visitPackage(PackageElement e,
P p)
Visits a package element.
|
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, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.