title: Getting Element Annotation from an AnnotationMirror
body: <p>Is there an better way to get an Element Annotation from an AnnotationMirror than this? This seems really hacky to me.</p>
  
  <pre><code>for (AnnotationMirror annotationMirror : element.getAnnotationMirrors()) {
      try {
          Class annotationClass = Class.forName(annotationMirror.getAnnotationType().toString());
          Annotation annotation = element.getAnnotation(annotationClass);
      } catch (ClassNotFoundException e) {
          e.printStackTrace();
      }
  }
  </code></pre>