@Override
  public String getElementUrl(final Object element) {
     if (element instanceof PsiMethod aMethod) {
       if (DumbService.isDumb(aMethod.getProject())) return null;
       return PsiFormatUtil.getExternalName(aMethod);
    }
    return null;
  }
@Override
  public String getElementUrl(final Object element)