code: public static <T extends Annotation> T getAnnotation(Class<?> clazz, Class<T> annotationClass) {
          assertReflectionAccessor();
          return accessor.getAnnotation(clazz, annotationClass);
      }
docs: Returns this element's annotation for the specified type if
  such an annotation is <em>present</em>, else null.
  
  @param <T> the type of the annotation to query for and return if present
  @param clazz Class to get annotation from
  @param annotationClass the Class object corresponding to the
  annotation type
  @return this element's annotation for the specified annotation type if
  present on this element, else null
  @throws NullPointerException if the given annotation class is null
  @since 1.5