I experimented with adding custom annotations to Lombok. My starting point is the source fork on GitHub.
I added an annotation that works great. I can use the included eclipse launch (or create a jar and change it to my eclipse.ini) to check and see the results: I successfully inserted the method into the class.
Now this only works if I put additional handler classes in the package lombok. If I put them under another package, they just wonβt work. I can create a new physical source directory, fine-tune the script construct to include it accordingly, and my new classes will live there if it logically packs new classes under the block.
Why is this? Anyway, around? I would like to highlight any add-ons that I am writing in a new top-level package to distinguish them from the official lombok levels.
source
share