Annotation Type RequiredOpens


  • @Documented
    @Retention(RUNTIME)
    public @interface RequiredOpens
    Add reflective visibility to the annotated ServiceModule. The module reading this annotation must have the wanted permissions itself, in order to properly propagate them to the annotated service module.
    Since:
    1.6
    • Element Detail

      • moduleName

        String moduleName
        Returns:
        the name of the module in the boot layer to open the packageNames from.
      • packageNames

        String[] packageNames
        Returns:
        the names of the packages to open from moduleName to the annotated service module.