@Override
  public @Nullable Icon getIcon(@NotNull PsiElement element, @Iconable.IconFlags int flags) {
    if (element instanceof PsiFile) {
      VirtualFile file = ((PsiFile)element).getVirtualFile();
      if (file != null) {
        return doGetIcon(file, flags);
      }
    }
    return null;
  }
@Override
  public @Nullable Icon getIcon(@NotNull PsiElement element, @Iconable.IconFlags int flags)