## Uses of Interface
javax.lang.model.element.PackageElement

- Packages that use PackageElement
  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.

- - ### Uses of PackageElement in javax.lang.model.element

    Methods in javax.lang.model.element with parameters of type PackageElement
    Modifier and Type | Method and Description
    --- | ---
    `R` | ElementVisitor.`visitPackage(PackageElement e, P p)` Visits a package element.

  - ### Uses of PackageElement in javax.lang.model.util

    Methods in javax.lang.model.util that return PackageElement
    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.

    Methods in javax.lang.model.util that return types with arguments of type PackageElement
    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`.

    Methods in javax.lang.model.util with parameters of type PackageElement
    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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.