title: How to build a list of classes annotated with my custom annotation?
body: <p>I want to get a complete list of classes in the application which are annotated with <code>@Custom</code> annotation. What is the best mechanism for this operation?</p>
  
  <p>ps. For example, how JAX-RS implementations find all classes that are annotated with <code>@Path</code>? I would like to use the same mechanism.</p>