while (fields.hasNext()) { Field field = (Field) fields.next(); String field_id = getFieldId(field.getId()); String field_type = field.getType();
while (fields.hasNext()) { Field field = (Field) fields.next(); String field_id = getFieldId(field.getId()); String field_type = field.getType();  if (convertBuiltins) { field_id = getConverter().makeBuiltinToATermConversion(field_type, field_id); }
	protected String buildActualTypedAltArgumentList(Iterator fields) {		StringBuffer buf = new StringBuffer();		while (fields.hasNext()) {			Field field = (Field) fields.next();			String field_id = getFieldId(field.getId());			String field_type = field.getType();			if (field_type.equals("str")) {				buf.append("factory.makeAppl(factory.makeAFun(");				buf.append(field_id);				buf.append(", 0, true))");			}			else if (field_type.equals("int")) {				buf.append("factory.makeInt(");				buf.append(field_id);				buf.append(")");			}			else if (field_type.equals("real")) {				buf.append("factory.makeReal(");				buf.append(field_id);				buf.append(")");			}			else {				buf.append(field_id);			}			if (fields.hasNext()) {				buf.append(", ");			}		}		return buf.toString();	}