Lines Matching defs:opens

73  * components. <em>Normal</em> modules may {@link #opens() open} specific
75 * open packages (its {@code opens} method returns an empty set) but when
113 * and opens all packages.
578 * <p> The <em>opens</em> directive in a module declaration declares a
584 * @see ModuleDescriptor#opens()
652 * Returns {@code true} if this is a qualified opens.
654 * @return {@code true} if this is a qualified opens
670 * For a qualified opens, returns the non-empty and immutable set
672 * unqualified opens, returns an empty set.
675 * opens, an empty set
682 * Compares this module opens to another.
698 * The module opens to compare
701 * opens is less than, equal to, or greater than the given
702 * module opens
728 * Computes a hash code for this module opens.
731 * and for a qualified opens, the set of modules names to which the
735 * @return The hash-code value for this module opens
745 * Tests this module opens for equality with the given object.
1246 private final Set<Opens> opens;
1258 Set<Opens> opens,
1275 this.opens = emptyOrUnmodifiableSet(opens);
1292 Set<Opens> opens,
1307 this.opens = opens;
1394 public Set<Opens> opens() {
1395 return opens;
1498 * {@link ModuleDescriptor.Builder#opens(String) opens},
1535 final Map<String, Opens> opens = new HashMap<>();
1832 public Builder opens(Opens obj) {
1838 if (opens.containsKey(source)) {
1842 opens.put(source, obj);
1870 public Builder opens(Set<Opens.Modifier> ms,
1874 Opens opens = new Opens(ms, pn, targets);
1877 targets = opens.targets();
1881 requirePackageName(opens.source());
1884 return opens(opens);
1905 public Builder opens(Set<Opens.Modifier> ms, String pn) {
1910 return opens(e);
1932 public Builder opens(String pn, Set<String> targets) {
1933 return opens(Collections.emptySet(), pn, targets);
1951 public Builder opens(String pn) {
1952 return opens(Collections.emptySet(), pn);
2162 Set<Opens> opens = new HashSet<>(this.opens.values());
2182 opens,
2243 c = compare(this.opens, that.opens);
2286 && opens.equals(that.opens)
2312 hc = hc * 43 + opens.hashCode();
2344 if (!opens.isEmpty())
2345 sb.append(", opens: ").append(opens);
2450 * must include all the packages that the module exports, opens, as well
2519 * must include all the packages that the module exports, opens, as well
2710 Set<Opens> opens,
2721 opens,