Annotation Interface AddExports


Declare that a module's packages should be exported to the annotated module.

This annotation is only respected by certain cooperating tools and runtimes.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    The repeating holder annotation for AddExports.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the module name to export from.
    Returns the packages which should be exported.
  • Element Details

    • module

      String module
      Returns the module name to export from.
      Returns:
      the module name to export from
    • packages

      String[] packages
      Returns the packages which should be exported.
      Returns:
      the packages which should be exported