Calling it a macro system is probably a stretch of the word :) but if you check out APT you should also check out the far sexier Java Agents [1] which is code that changes other code during runtime (ie alters structure and provides meta programming).
[1]: https://docs.oracle.com/javase/7/docs/api/java/lang/instrume...