Depends on how much you stand to gain by having a data class. What sort of bugs would such a tool help you avoid? In my usage for generated code it hasn’t proven to be much of a problem to have the classes be Java since “populate the object that’s an instance of a generated class” is generally pretty self contained and only used immediately before serialization or whatever, but YMMV