code: public String fieldList(List<RecordTemplateSpec.Field> fields) {
      StringBuilder sb = new StringBuilder();
      Iterator<RecordTemplateSpec.Field> iter = fields.iterator();
      while(iter.hasNext()) {
        RecordTemplateSpec.Field field = iter.next();
        sb.append(escapeKeyword(field.getSchemaField().getName()));
        if (iter.hasNext()) sb.append(", ");
      }
      return sb.toString();
    }
docs: Returns the fields as a list of parameters for inclusion in Java source.  E.g.:
  
  <code>
  field1, field2, field3, field4
  </code>
  
  @param fields provides the fields to construct a parameter list for.
  @return the fields as a list of parameters for inclusion in Java source.