@NotNull
  public static Set<String> getEntryExcludedUrls(@Nullable Project project,
                                                 @NotNull ContentEntry entry) {
    Set<String> excludedUrls = new HashSet<>(entry.getExcludeFolderUrls());
    if (project != null) {
      for (DirectoryIndexExcludePolicy policy : DirectoryIndexExcludePolicy.getExtensions(project)) {
        ContainerUtil.addAll(excludedUrls, policy.getExcludeUrlsForProject());
      }
    }
    return excludedUrls;
  }
@NotNull
  public static Set<String> getEntryExcludedUrls(@Nullable Project project,
                                                 @NotNull ContentEntry entry)