Interface JPackage

  • All Superinterfaces:
    JAnnotatedElement, JElement
    All Known Subinterfaces:
    MPackage
    All Known Implementing Classes:
    PackageImpl

    public interface JPackage
    extends JAnnotatedElement
    Represents a java package. Provides access to information about the package, the package's comment and tags, and the classes in the package.

    FIXME how are we handling the default package? i think it should be a package with an empty string for a name, but we need to make sure this works and document it.

    • Method Detail

      • getClasses

        JClass[] getClasses()
        Returns the classes in this package which were specified as part of the JRoot construction. Note that this does not necessarily include all of the classes that are actually in the package (it may not contain any specified classes at all).