List<PsiFile> (@NotNull Project project, @NotNull Collection<? extends Change> changes) { PsiManager psiManager = PsiManager.getInstance(project); return ContainerUtil.mapNotNull(changes, change -> { VirtualFile vFile = change.getVirtualFile(); return vFile != null ? psiManager.findFile(vFile) : null; }); }