docs: public void setAssignments(java.util.Collection<Assignment> assignments) {
          if (assignments == null) {
              this.assignments = null;
              return;
          }
  
          this.assignments = new java.util.ArrayList<Assignment>(assignments);
      }