Thursday, September 30, 2010

Re: Accessing class annotations on client side ?

There is a project http://gwtreflection.sourceforge.net/ that attempts
to provide reflection on the client side, but it only seems to support
Java 1.4 reflection API which does not have annotations.

On Sep 30, 11:28 pm, Didier DURAND <durand.did...@gmail.com> wrote:
> Hi there,
>
> the GWT compiler will not complain on annotations. But, I would like
> to check them on client side in Javascript.
>
> On server side, I usually use getAnnotations() from Class.  But
> current JRE emulation by GWT does not provide getAnnotations()
> although it provide the Annotation class.
>
> So, my question: how can I check on client side if a given annotation
> is present or not ?
>
> Thanks in advance !
>
> didier

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment