private static void createExcludedRootIfAbsent(@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;
      }
    }
    logTrace("Importing excluded root '%s' for content root '%s' of module '%s'", root, entry.getUrl(), moduleName);
    entry.addExcludeFolder(pathToUrl(rootPath), true);
  }
private static void createExcludedRootIfAbsent(@NotNull ContentEntry entry,
                                                 @NotNull SourceRoot root,
                                                 @NotNull String moduleName)