@Override
  public void applyFix(@NotNull final Project project, @NotNull final PsiElement element, @NotNull ModPsiUpdater updater) {
    if (!(element instanceof PyTargetExpression targetExpression)) return;

    final PyClass containingClass = targetExpression.getContainingClass();
    final PyAssignmentStatement assignment = PsiTreeUtil.getParentOfType(element, PyAssignmentStatement.class);
    if (containingClass == null || assignment == null) return;

    AddFieldQuickFix.addFieldToInit(project, containingClass, targetExpression.getName(), x -> assignment);
    removeDefinition(assignment);
  }
@Override
  public void applyFix(@NotNull final Project project, @NotNull final PsiElement element, @NotNull ModPsiUpdater updater)