List<PsiFile> () { List<PsiFile> files = new ArrayList<>(); for (VirtualFile file : new ArrayList<>(getVFileToViewProviderMap().keySet())) { FileViewProvider viewProvider = findCachedViewProvider(file); if (viewProvider != null) { ContainerUtil.addAllNotNull(files, ((AbstractFileViewProvider)viewProvider).getCachedPsiFiles()); } } return files; }