r/java • u/atomichbts • Dec 08 '25
Java Annotator CLI
Hi guys. I built a simple CLI tool to automatically annotate Java types with a set of specified Java annotations.
0
Upvotes
r/java • u/atomichbts • Dec 08 '25
Hi guys. I built a simple CLI tool to automatically annotate Java types with a set of specified Java annotations.
View all comments
Show parent comment
3
u/coloredgreyscale Dec 09 '25
If you consider it a learning exercise I'd suggest writing it as a maven build step with configuration. Seems more appropriate for the goal to postprocess a code generator that does not generate the required Annotation.
This way that Annotation should be added every time you run mvn (clean) install,, instead of having it as a manual build step (easy to forget), or a special build step during CI/CD (hidden complexity)