[webbeans-dev] Use of Class<Annotation>

Pete Muir pmuir at redhat.com
Thu Oct 23 12:34:29 EDT 2008


Can we change all instances of this in the API to Class<? extends  
Annotation> as this is consistent with annotation.annotationType() and  
foo.getClass()?

Actually, I don't think Class<Annotation> is correct at all, as this  
would imply we are only ever returning Annotation.class from this  
method, not some subclass thereof.

I'm going to run with this locally.



More information about the weld-dev mailing list