code: public <T> DomainObjectMatch<T> createMatchFor(List<T> domainObjects,
  			Class<T> domainObjectType) {
  		DomainObjectMatch<T> ret = createMatchForInternal(domainObjects, domainObjectType);
  		QueryRecorder.recordAssignment(this, "createMatchFor", ret,
  				QueryRecorder.reference(domainObjects), QueryRecorder.literal(domainObjectType.getName()));
  		return ret;
  	}
docs: Create a match for a list of domain objects which were retrieved by another query
  @param domainObjects a list of domain objects which were retrieved by another query
  @param domainObjectType the type of those domain objects
  @return a DomainObjectMatch