protected boolean canSearchForImplementingMethods(PsiElement element) {
    return element instanceof PsiMethod method && method.hasModifierProperty(PsiModifier.ABSTRACT);
  }
protected boolean canSearchForImplementingMethods(PsiElement element)