IgnoredFileContentProvider (@NotNull Project project, @NotNull VcsKey vcsKey) { IgnoredFileContentProvider ignoreContentProvider = null; for (IgnoredFileContentProvider provider : IgnoredFileContentProvider.IGNORE_FILE_CONTENT_PROVIDER.getExtensionList(project)) { if (provider.getSupportedVcs().equals(vcsKey)) { ignoreContentProvider = provider; break; } } if (ignoreContentProvider == null) { LOG.debug("Cannot get ignore content provider for vcs " + vcsKey.getName()); return null; } return ignoreContentProvider; }