List<PsiFile> (@NotNull Project project, @NotNull List<? extends PsiDirectory> dirs) { ChangeListManager changeListManager = ChangeListManager.getInstance(project); Collection<Change> changes = new ArrayList<>(); for (PsiDirectory dir : dirs) { changes.addAll(changeListManager.getChangesIn(dir.getVirtualFile())); } return getChangedFiles(project, changes); }