title: Read all classes decorated with a particular annotation at runtime
body: <p>I am required to read all classes(interfaces) decorated with a particular annotation (say @HttpSecurity) at runtime. After scanning through, I wish to read and parse the fields(enum fields) of class decorated with annotations. For eg.</p>
  
  <pre><code>@HttpSecurity
  public interface MyHttpSecurityConfig {
  
  public enum secure {
      @Path(pathGroup = "/*", pathName = "")
      @Authc
      @Form(errorPage = "/error.html", loginPage = "/login.html", restoreOriginalRequest = "")
      @Authz
      @AllowedRoles(roles = { "roleA", "roleB" })
      @AllowedGroups(groups = { "groupA" })
      @AllowedRealms(realms = { "realmA" })
      @Expressions(expressions = { "#{identity.isLoggedIn()}" })
      Admin
    }
  }
  </code></pre>
  
  <p>There might be one or more classes/interfaces decorated with @HttpSecurity. <strong>My first requirement is to fetch all such classes</strong> and second requirement is to build up HttpSecurityBuilder by reading the annotations and their values decorated on enum field(s).
  The second requirement is fine and can be done away using reflections. But, <strong>my problem is the first requirement</strong>. I want to achieve first requirement with JavaSE core i.e., without using any external dependency like google reflections. It might be assumed,if necessary, that we have the package name in which classes are to be scanned. Here is what I did usiNG <a href="https://gist.github.com/girirajsharma/9f227c7fe3d238d832be#file-annotation_configuration-java-L295" rel="nofollow">cdi</a></p>