- if you swap the methods and remove the exception, it works.
On 23 Oct 2008, at 21:48, Gavin King wrote:
Fix it and send me the right class.
On Thu, Oct 23, 2008 at 8:26 AM, Pete Muir <pmuir(a)bleepbleep.org.uk>
wrote:
> Any reason why we require
>
> if (!(getClass().getSuperclass() == AnnotationLiteral.class))
> {
> throw new RuntimeException(
> "Not a direct subclass of AnnotationLiteral");
> }
>
> this stops me using annotation literals as an anonymous inner class
> AFACIT
> (as you can't use implement when defining one).
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev