}
}
static String asProjection(RequiredFieldList list, Properties props) {
List<String> fields = new ArrayList<String>();
FieldAlias alias = alias(new PropertiesSettings(props));
for (RequiredField field : list.getFields()) {
addField(field, fields, alias, "");
}
return StringUtils.concatenate(fields.toArray(new String[fields.size()]), ",");