@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof ActionMacro actionMacro)) return false;

    if (!myActions.equals(actionMacro.myActions)) return false;
    if (!myName.equals(actionMacro.myName)) return false;

    return true;
  }
@Override
  public boolean equals(Object o)