Hi everybody,
I have this class:
*class Person{*
*@Caption(name="Name")*
*String name;*
*}*
How can acces to this annotation in deferred binding?.
When I access to the JField that represents the field name, the method
*nameJField.getDeclaredAnnotations()
*or *nameJField.getAnnotation(Caption.class)* or any related method not find
that Annotation.
It's a bit strange because the class is responsible for performing the
deferred binding has other Annotations that I can access.
The response to this fact I think it is because I have no GeneratorContext
about the Person class but, someone have an idea?
One of the restrictions I have is that the Person class I can not change.
Thanks.
--
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.