by norswap · 12y ago · 0 comments
Read this to get some idea of what can be achieved with annotation processing: 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.