Collection<File> (final ModuleChunk chunk) { final boolean forTests = chunk.containsTests(); final Set<File> sourcePaths = new LinkedHashSet<>(); processModulesRecursively(chunk, JpsJavaClasspathKind.compile(forTests), module -> addFile(sourcePaths, JpsJavaExtensionService.getInstance().getOutputUrl(module, forTests))); return sourcePaths; }