MCPcopy
hub / github.com/apache/groovy / isOpen

Method isOpen

src/main/java/org/codehaus/groovy/vmplugin/v9/Java9.java:325–329  ·  view source on GitHub ↗
(final ModuleDescriptor descriptor, final String pn)

Source from the content-addressed store, hash-verified

323 }
324
325 private static boolean isOpen(final ModuleDescriptor descriptor, final String pn) {
326 return descriptor.opens()
327 .stream()
328 .anyMatch(e -> e.source().equals(pn) && !e.isQualified());
329 }
330
331 private static String[] JAVA8_PACKAGES() {
332 // The following package list should NOT be changed!

Callers 2

Java9Class · 0.95
checkAccessibleMethod · 0.80

Calls 2

streamMethod · 0.65
equalsMethod · 0.65

Tested by

no test coverage detected