3 ms·
Are you suggesting something like Lombok for RESTful services? I am not familiar with using annotations at compile time to produce code; so while I guess it is
by meddlepal 12y ago
Are you suggesting something like Lombok for RESTful services? I am not familiar with using annotations at compile time to produce code; so while I guess it is totally possible, I feel like I would be doing it all from scratch.
- norswap 12y agoAFAIK Lombok plugs into Eclipse APIs, it doesn't use annotation processing. Read this to get some idea of what can be achieved with annotation processing: http://scg.unibe.ch/archive/projects/Erni08b.pdf http://scg.unibe.ch/archive/projects/Erni08b.pdf They do use so compiler API which are not stable interfaces, but even without that, you can go surprisingly far.