public synchronized void copyFromGroup(@NotNull DefaultActionGroup other) {
    copyFrom(other);
    setPopup(other.isPopup());

    mySortedChildren.clear();
    mySortedChildren.addAll(other.mySortedChildren);

    myPendingActions.clear();
    myPendingActions.addAll(other.myPendingActions);

    myConstraints.clear();
    myConstraints.putAll(other.myConstraints);
    incrementModificationStamp();
  }
public synchronized void copyFromGroup(@NotNull DefaultActionGroup other)