Uses of Interface
javax.lang.model.element.PackageElement
Package
Description
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 PackageElement in com.sun.source.util
Modifier and TypeMethodDescriptionabstract DocTreePath
DocTrees.getDocTreePath(FileObject fileObject, PackageElement packageElement)
Returns a doc tree path containing the doc comment tree of the given file. -
Uses of PackageElement in javax.lang.model.element
Modifier and TypeMethodDescriptionModuleElement.ExportsDirective.getPackage()
Returns the package being exported.ModuleElement.OpensDirective.getPackage()
Returns the package being opened.Modifier and TypeMethodDescriptionElementVisitor.visitPackage(PackageElement e, P p)
Visits a package element. -
Uses of PackageElement in javax.lang.model.util
Modifier and TypeMethodDescriptionElements.getPackageElement(CharSequence name)
Returns a package given its fully qualified name if the package is uniquely determinable in the environment.default PackageElement
Elements.getPackageElement(ModuleElement module, CharSequence name)
Returns a package given its fully qualified name, as seen from the given module.Elements.getPackageOf(Element e)
Returns the package of an element.Modifier and TypeMethodDescriptiondefault Set<? extends PackageElement>
Elements.getAllPackageElements(CharSequence name)
Returns all package elements with the given canonical name.static List<PackageElement>
ElementFilter.packagesIn(Iterable<? extends Element> elements)
Returns a list of packages inelements
.static Set<PackageElement>
ElementFilter.packagesIn(Set<? extends Element> elements)
Returns a set of packages inelements
.Modifier and TypeMethodDescriptionElementKindVisitor6.visitPackage(PackageElement e, P p)
Visits a package element.ElementScanner6.visitPackage(PackageElement e, P p)
Visits a package element.SimpleElementVisitor6.visitPackage(PackageElement e, P p)
Visits a package element.