@Override
  public @NotNull List<PsiFile> getAllCachedFiles() {
    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;
  }
@Override
  public @NotNull List<PsiFile> getAllCachedFiles()