@Override
  public boolean processPrimaryMethod(ChangeInfo changeInfo) {
    if (!JavaLanguage.INSTANCE.equals(changeInfo.getLanguage()) || !(changeInfo instanceof JavaChangeInfo javaChangeInfo)) return false;
    final PsiMethod element = javaChangeInfo.getMethod();
    if (!JavaLanguage.INSTANCE.equals(element.getLanguage())) {
      return false;
    }
    if (!(element.isPhysical() || element instanceof LightRecordMethod || element instanceof LightRecordCanonicalConstructor)) {
      return false;
    }
    if (changeInfo.isGenerateDelegate()) {
      generateDelegate(javaChangeInfo);
    }
    processPrimaryMethod(javaChangeInfo, element, null, true);
    return true;
  }
@Override
  public boolean processPrimaryMethod(ChangeInfo changeInfo)