code: public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
          return method.getAnnotation(annotationType);
      }
docs: Returns the annotation of type {@code annotationType} on this method, if
  one exists.