@Override
  protected @Nullable String getLinkReferenceText(@NotNull PsiElement element) {
    PsiClass psiClass = element instanceof PsiClass ? (PsiClass)element : getStubOrPsiParentOfType(element, PsiClass.class);
    if (psiClass instanceof PsiAnonymousClass) return null;
    return QualifiedNameProviderUtil.getQualifiedName(element);
  }
@Override
  protected @Nullable String getLinkReferenceText(@NotNull PsiElement element)