I'm a bit surprised that org.apache.cxf.jaxrs.utils.AnnotationUtils does not have a method that says:
"Here's a method and an annotation. If the method has the annotation, return it. Otherwise, go to the containing class, and it's parents, in search of it." Is there something I'm missing which would make this a bad idea?