protected void setEventSet(EventSet eventSet) {
    assertCanBeUsed();
    assertInLog(myEventSet == null, () -> "Event set in " + this + "should be empty");
    myEventSet = eventSet;
  }
protected void setEventSet(EventSet eventSet)