@Override
  public @Nullable Icon getIcon(@NotNull VirtualFile file, int flags, @Nullable Project project) {
    PsiFileSystemItem psiFile = PsiUtilCore.findFileSystemItem(project, file);
    return psiFile == null ? null : PsiIconUtil.getIconFromProviders(psiFile, flags);
  }
@Override
  public @Nullable Icon getIcon(@NotNull VirtualFile file, int flags, @Nullable Project project)