Currently hasCode,equals and toString for DTOs skip retval field.
Type generation reuses the code and also skips the field.
API contract does not say anything about retval fields in typeonly definitions.
They might be manifestation of unused field, but jvpp should
not restrict it.