void (@NotNull Project project, @NotNull Collection<? extends FilePath> files, @NotNull PerVcsProcessor<FilePath> processor) { ProjectLevelVcsManager projectLevelVcsManager = ProjectLevelVcsManager.getInstance(project); processItemsByVcs(files, filePath -> projectLevelVcsManager.getVcsFor(filePath), processor); }