code: public static Predicate<RequestHandler> withClassAnnotation(final Class<? extends Annotation> annotation) {
      return input -> declaringClass(input).map(annotationPresent(annotation)).orElse(false);
    }
docs: Predicate that matches RequestHandler with given annotation on the declaring class of the handler method
  
  @param annotation - annotation to check
  @return this