title: How to scan classes for annotations?
body: <p>I have a plain jane servlets web application, and some of my classes have the following annotations:</p>
  
  <pre><code>@Controller
  @RequestMapping(name = "/blog/")
  public class TestController {
  ..
  
  }
  </code></pre>
  
  <p>Now when my servlet applications starts up, I would like to get a list of all classes that have the @Controller annotation, and then get the value of the @RequestMapping annotation and insert it in a dictionary.</p>
  
  <p>How can I do this?</p>
  
  <p>I'm using Guice and Guava also, but not sure if that has any annotation related helpers.</p>