code: public <T> DomainObjectMatch<T> AS(Class<T> domainObjectType) {
  		CollectExpression ce = (CollectExpression)this.astObject;
  		DomainObjectMatch<T> ret =APIAccess.createDomainObjectMatch(domainObjectType,
  				ce.getQueryExecutor().getDomainObjectMatches().size(),
  				ce.getQueryExecutor().getMappingInfo());
  		ce.setEnd(ret);
  		ce.getQueryExecutor().getDomainObjectMatches().add(ret);
  		QueryRecorder.recordAssignment(this, "AS", ret, QueryRecorder.literal(domainObjectType.getName()));
  		return ret;
  	}
docs: Return the collect result as a DomainObjectMatch of specified typ
  (it represents a set of objects of that type).
  @param domainObjectType
  @return a DomainObjectMatch