code: public void addField(String fieldName, TypeID tid) {
      sTid.getFieldTypeInfos().add(new FieldTypeInfo(fieldName, tid));
    }
docs: Add a field.
  @param fieldName Name of the field
  @param tid Type ID of the field