Interface PackageInfo

  • All Superinterfaces:
    AnnotationTarget, DeclarationInfo

    public interface PackageInfo
    extends DeclarationInfo
    A package, possibly annotated in package-info.java. Obtaining the set of members present in this package is not possible.
    Since:
    4.0
    • Method Detail

      • name

        java.lang.String name()
        Returns the fully qualified name of this package, as defined by The Java™ Language Specification; in other words, the package name as returned by Package.getName().
        Returns:
        fully qualified name of this package, never null