I want to get a complete list of classes in the application which are annotated with @Custom annotation. What is the best mechanism for this operation?
The easiest way would be to use an IDE as Jesus suggested.
But you could also
Beware: All of these are tricky. The AspectJ solution should be the simplest.