FilePathHolder (@NotNull Project project, @NotNull AbstractVcs vcs) { VcsManagedFilesHolder.Provider provider = VcsManagedFilesHolder.VCS_IGNORED_FILES_HOLDER_EP .findFirstSafe(project, ep -> ep.getVcs().equals(vcs)); if (provider != null) { return provider.createHolder(); } else { return new RecursiveFilePathHolderImpl(project); } }