@Override
  protected boolean isInSuper(PsiElement member) {
    if (member instanceof PsiField field) {
      final PsiClass containingClass = field.getContainingClass();
      if (myClass.isInheritor(containingClass, true)) return true;
      return doMemberInfosContain(field);
    }
    else if (member instanceof PsiMethod method) {
      final PsiClass currentSuperClass = myClass.getSuperClass();
      if (currentSuperClass != null) {
        final PsiMethod methodBySignature = currentSuperClass.findMethodBySignature(method, true);
        if (methodBySignature != null) return true;
      }
      return doMemberInfosContain(method);
    }
    return false;
  }
@Override
  protected boolean isInSuper(PsiElement member)