Details
Description
Just like JavaParameters it should be possible to resolve the real return type.
public interface GenericDao<TEntity, TKey> { public List<TEntity> getAll(); }
public interface SubjectDao extends GenericDao<Subject, Long> { public List<Subject> getEnabledSubjects(); }
The method SubjectDao.getAll() should return a java.util.List<Subject>
Issue Links
Activity
Robert Scholte
made changes -
Robert Scholte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Robert Scholte
made changes -
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.