if (td.getIsRefType()){
if (useWrappedObjectRefs){
// We have to make some adjustments to handle the fact that we
// may not be generating this code in the same location as the DMOs
td.adjustJavaClass();
addImport(uniqueImports, longestImport, td.getAuxHolderImport(), "Is reference type aux");
// If this is multi-valued, we don't need the REF because we're returning the Iterable
if (ta.valueType == ValueTypeEnum.SINGLE){