Annotation Interface ExportTo


@Documented @Retention(CLASS) @Target(PACKAGE) public @interface ExportTo
Annotation used on a package, in conjunction with the Export annotation, to express the JPMS modules to which this package is exported. This information is added to the module-info.class.

The exclusion of this annotation means the package is exported to all modules.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details