code: public static Map<String, Object> getAnnotation(Class<?> annotationType,
  			Element element) {
  		for (AnnotationMirror annotation : element.getAnnotationMirrors()) {
  			if (!rawTypeToString(annotation.getAnnotationType(), '$').equals(
  					annotationType.getName())) {
  				continue;
  			}
  
  			return parseAnnotationMirror(annotationType, annotation);
  		}
  		return null; // Annotation not found.
  	}
docs: Returns the annotation on {@code element} formatted as a Map. This
  returns a Map rather than an instance of the annotation interface to
  work-around the fact that Class and Class[] fields won't work at code
  generation time. See
  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5089128