code: public void setValue(List<Tag> value) throws IllegalArgumentException {
          this.type = null;
          this.value.clear();
  
          for(Tag tag : value) {
              this.add(tag);
          }
      }
docs: Sets the value of this tag.
  The list tag's type will be set to that of the first tag being added, or null if the given list is empty.
  
  @param value New value of this tag.
  @throws IllegalArgumentException If all tags in the list are not of the same type.