[webbeans-dev] Use of Class<Annotation>

Gavin King gavin at hibernate.org
Thu Oct 23 16:44:39 EDT 2008


Yep, cool, thanks

On Thu, Oct 23, 2008 at 11:34 AM, Pete Muir <pmuir at redhat.com> wrote:
> 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.
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>



-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list