docs: public void setItemType(JMFType elem) {
      if (elem == null)
        throw new NullPointerException("Repeated item cannot be null");
      itemType = (JSType)elem;
      itemType.parent = this;
      itemType.siblingPosition = 0;
    }