if (isList(returnTypeClass) || isMap(returnTypeClass)) {
builder.append(" ");
builder.append(getEnsureName(fieldName));
builder.append("();\n");
}
<BUG>builder.append("      return ");
emitReturn(getter, fieldName, builder);
builder.append(";\n    }\n\n");
</BUG>
}

if (isList(returnTypeClass) || isMap(returnTypeClass)) {
builder.append(" ");
builder.append(getEnsureName(fieldName));
builder.append("();\n");
}
builder.append("      return (").append(returnType).append(")(");
emitReturn(getter, fieldName, builder);
builder.append(");\n    }\n\n");
}
