void (Set<String> paths, DataNode<? extends ModuleData> moduleNode) { getChildren(moduleNode, ProjectKeys.CONTENT_ROOT) .stream() .flatMap(contentNode -> contentNode.getData().getPaths(ExternalSystemSourceType.SOURCE).stream()) .map(ContentRootData.SourceRoot::getPath) .forEach(paths::add); }