Interface Packaged<T>

All Known Subinterfaces:
EnumConstant.ReadBody<O>, EnumConstantSource.Body, JavaAnnotation<O>, JavaAnnotationSource, JavaClass<O>, JavaClassSource, JavaEnum<O>, JavaEnumSource, JavaInterface<O>, JavaInterfaceSource, JavaPackageInfo<O>, JavaPackageInfoSource, JavaRecord<O>, JavaRecordSource, JavaSource<T>, JavaType<T>, PackagedSource<T>

public interface Packaged<T>
Represents a JavaType that may be declared as belonging to a particular Java package.
Author:
Lincoln Baxter, III
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the package of this Packaged, or return null if it is in the default package.
    boolean
    Return whether or not this Packaged is in the default package.
  • Method Details

    • getPackage

      String getPackage()
      Get the package of this Packaged, or return null if it is in the default package.
    • isDefaultPackage

      boolean isDefaultPackage()
      Return whether or not this Packaged is in the default package.