Lines Matching defs:opens
124 tr.checkEquals(module.opens_count, moduleDescriptor.opens.size(), "Wrong amount of opens.");
125 for (Module_attribute.OpensEntry open : module.opens) {
127 if (tr.checkTrue(moduleDescriptor.opens.containsKey(pkg), "Unexpected open " + pkg)) {
128 Open expectedOpen = moduleDescriptor.opens.get(pkg);
131 tr.checkEquals(open.opens_to_count, expectedTo.size(), "Wrong amount of opens to");
136 tr.checkContains(actualTo, expectedTo, "Lists of \"opens to\" don't match.");
321 private final Map<String, Open> opens = new HashMap<>();
385 public ModuleDescriptor opens(String pkg, OpensFlag... flags) {
386 this.opens.put(toInternalForm(pkg), new Open(toInternalForm(pkg), computeMask(flags)));
387 content.append(" opens ");
400 this.opens.compute(toInternalForm(pkg), (k,v) -> new Open(toInternalForm(k), computeMask(flags)))
403 content.append(" opens ");