@NotNull
  public static List<VirtualFile> filterOutGeneratedAndExcludedFiles(@NotNull Collection<? extends VirtualFile> files,
                                                                     @NotNull Project project) {
    return ContainerUtil.filter(files, file -> !isGeneratedOrExcluded(project, file));
  }
@NotNull
  public static List<VirtualFile> filterOutGeneratedAndExcludedFiles(@NotNull Collection<? extends VirtualFile> files,
                                                                     @NotNull Project project)