void (@NotNull Module module, @NotNull EnvironmentController environment) { final ModuleRootManager moduleRootManager = ModuleRootManager.getInstance(module); Stream<VirtualFile> contentRoots = Stream.concat(Arrays.stream(moduleRootManager.getContentRoots()), getDependenciesContentRoots(module)); environment.putTargetPathsValue(IDE_PROJECT_ROOTS, contentRoots.map(contentRoot -> contentRoot.getPath()).collect(Collectors.toList())); }