params.add(readExpression());
} while (readIf(","));
read(")");
Expression[] list = new Expression[params.size()];
params.toArray(list);
JavaAggregate agg = new JavaAggregate(aggregate, list, currentSelect);
currentSelect.setGroupQuery();
return agg;
}