Interface ModuleDescription.Opens

    • Method Detail

      • getTargets

        java.util.Set<java.lang.String> getTargets()
        Returns the target modules that this package is opened to.
        Returns:
        A set of module names that can reflectively access this opened package, or an empty set if opened to all modules.
      • isQualified

        boolean isQualified()
        Determines if this opens declaration is qualified (opened to specific modules only).
        Returns:
        true if this opens has specific target modules, false if opened to all modules.