public static @NlsSafe String getSearchableTypeName(final PsiElement e) {
    if (e instanceof PsiThrowStatement aThrow) {
      final PsiType type = aThrow.getException().getType();
      return PsiFormatUtil.formatType(type, PsiFormatUtilBase.SHOW_FQ_CLASS_NAMES, PsiSubstitutor.EMPTY);
    }
    if (e instanceof PsiKeyword && PsiKeyword.THROWS.equals(e.getText())) {
      return e.getParent().getText();
    }
    LOG.error("invalid searchable element");
    return e.getText();
  }
public static @NlsSafe String getSearchableTypeName(final PsiElement e)