void (@NotNull ContentEntry entry, @NotNull SourceRoot root, @NotNull String moduleName) { String rootPath = root.getPath(); for (VirtualFile file : entry.getExcludeFolderFiles()) { if (ExternalSystemApiUtil.getLocalFileSystemPath(file).equals(rootPath)) { return; } } logDebug("Importing excluded root '%s' for content root '%s' of module '%s'", root, entry.getUrl(), moduleName); entry.addExcludeFolder(pathToUrl(rootPath), true); }