Annotation Interface AddOpens


Declare that a module's packages should be opened 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 AddOpens.
  • Required Element Summary

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

    • module

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

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