Interface ModuleDescription.Exports

    • Method Detail

      • getTargets

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

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