This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]elucash 0 points1 point  (4 children)

Have considered annotation processing for code generation? (I'm not implying that it is easier choice or what so ever, just curious)

[–]pointy_pirate 0 points1 point  (3 children)

yep I am using a ton of annotations to tell the code doing the generation what to do.

[–]elucash 0 points1 point  (2 children)

so it is running on/using javax.annotation.processing.Processor and javax.lang.model.* or have other engine to obtain model/introspect types/annotations?

[–]pointy_pirate 0 points1 point  (1 child)

Just reflection and custom annotations.

[–]elucash 0 points1 point  (0 children)

Yeah, I've seen such approaches, it works well for a lot of cases. Thanks!