public <T extends EntityProxy> Request<List<T>> query(String typeUniqueId);
with a Server Interface like:
public <T> List<T> query(String typeUniqueId);
It doesn't look like since our testcase throws an exception of the following form:
[ERROR] Line 46: T.com cannot be resolved to a type
[ERROR] Line 46: Syntax error on token "extends", . expected
[ERROR] Line 58: T.com cannot be resolved to a type
[ERROR] Line 58: Syntax error on token "extends", . expected
Interestingly enough the Validator used by Eclipse doesn't mind..
Is there any way to support method level generics in a RequestContext Interface?
Any feedback, remarks... greatly appreciated
Chris
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/9nApP2k6_LAJ.
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