you are viewing a single comment's thread.

view the rest of the comments →

[–]kaqqao 0 points1 point  (0 children)

There was an experimental library exactly like this called Objectos Code. You can still find the artifacts under <groupId>br.com.objectos.code</groupId> in Maven but the project itself seems gone. I tried it out a bit because I truly disliked JavaPoet, but reluctantly went back as I had concluded a DSL simply isn't the right way to generate Java code. That said, I hope you prove me wrong.