code: public static boolean isAnnotationPresent(final Method method, final Class<? extends Annotation> annotationType) {
          return method != null && method.isAnnotationPresent(annotationType);
      }
docs: Utility method kept for backwards compatibility. Annotation checking used to be problematic on GWT.
  
  @param method might contain the specified annotation. Can be null.
  @param annotationType class of the annotation that the method is checked against.
  @return true if method is annotated with the specified annotation.