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

Method isExported

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

Source from the content-addressed store, hash-verified

317 }
318
319 private static boolean isExported(final ModuleDescriptor descriptor, final String pn) {
320 return descriptor.exports()
321 .stream()
322 .anyMatch(e -> e.source().equals(pn) && !e.isQualified());
323 }
324
325 private static boolean isOpen(final ModuleDescriptor descriptor, final String pn) {
326 return descriptor.opens()

Callers 2

Java9Class · 0.95
checkAccessibleMethod · 0.80

Calls 2

streamMethod · 0.65
equalsMethod · 0.65

Tested by

no test coverage detected