public static Expression aggregation(AggregationOperators operator, Type returnType, Expression expression) {
    return ImmutableCall.of(Collections.singletonList(expression), operator, returnType);
  }
A set of predefined utilities and factories for expressions like {@link Constant} or {@link Call}
criteria/common/src/org/immutables/criteria/expression/Expressions.java