private void reset(
    UndoRedoList<UndoableAction> currentActions,
    HashSet<DocumentReference> allAffectedDocuments,
    HashSet<DocumentReference> additionalAffectedDocuments,
    Reference<Object> lastGroupId,
    boolean forcedGlobal,
    boolean transparent,
    String commandName,
    boolean valid,
    EditorAndState stateBefore,
    EditorAndState stateAfter,
    UndoConfirmationPolicy policy
  ) {
    myCurrentActions = currentActions;
    myAllAffectedDocuments = allAffectedDocuments;
    myAdditionalAffectedDocuments = additionalAffectedDocuments;
    myLastGroupId = lastGroupId;
    myForcedGlobal = forcedGlobal;
    myTransparent = transparent;
    myCommandName = commandName;
    myValid = valid;
    myStateAfter = stateAfter;
    myStateBefore = stateBefore;
    myUndoConfirmationPolicy = policy;
  }
private void reset(
    UndoRedoList<UndoableAction> currentActions,
    HashSet<DocumentReference> allAffectedDocuments,
    HashSet<DocumentReference> additionalAffectedDocuments,
    Reference<Object> lastGroupId,
    boolean forcedGlobal,
    boolean transparent,
    String commandName,
    boolean valid,
    EditorAndState stateBefore,
    EditorAndState stateAfter,
    UndoConfirmationPolicy policy
  )