Annotation Processing the New Way
Jason Lee 2012-07-25
I recently ran into an issue with our dependency injection , but CDI has the same "problem". Since the rest of the system worked using these interfaces, I really wanted to solve the discoverability issue rather than redesigning that part of the system. After considering and playing with a Maven plugin, I opted to use the javax.annotation.processing API. Let's take a quick look.