[
http://jira.codehaus.org/browse/QDOX-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217492#action_217492
]
Robert Scholte commented on QDOX-207:
-------------------------------------
http://java.sun.com/docs/books/tutorial/reflect/member/methodType.html
So the java-api is not capable or resolving this directly. But sure we can.
> Support resolution of a method's generic return type
> ----------------------------------------------------
>
> Key: QDOX-207
> URL: http://jira.codehaus.org/browse/QDOX-207
> Project: QDox
> Issue Type: Improvement
> Components: Java API
> Affects Versions: 1.11
> Reporter: Robert Scholte
> Assignee: Robert Scholte
> Fix For: 1.12
>
>
> Just like JavaParameters it should be possible to resolve the real return
> type.
> {code}
> public interface GenericDao<TEntity, TKey> {
> public List<TEntity> getAll();
> }
> {code}
> {code}
> public interface SubjectDao extends GenericDao<Subject, Long> {
> public List<Subject> getEnabledSubjects();
> }
> {code}
> The method SubjectDao.getAll() should return a java.util.List<Subject>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email