On Thursday, December 01, 2011 11:48:45 AM Benson Margulies wrote: > 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?
Probably something useful to add to ReflectionUtil. That said, you should also ask yourself if the annotation itself just have @Inherited on it and whether that would be enough or not? -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
