@Override
  protected boolean canBeTargetClass(PsiClass psiClass) {
    return canModify(psiClass) && !psiClass.isInterface() && !psiClass.isAnnotationType() && !psiClass.isRecord();
  }
@Override
  protected boolean canBeTargetClass(PsiClass psiClass)