QDox
  1. QDox
  2. QDOX-207

Support resolution of a method's generic return type

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.11
    • Fix Version/s: 1.12
    • Component/s: Java API
    • Labels:
      None
    • Number of attachments :
      0

      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 -
          Field Original Value New Value
          Link This issue is depended upon by MGWT-186 [ MGWT-186 ]
          Hide
          Robert Scholte added a comment -

          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.

          Show
          Robert Scholte added a comment - 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.
          Hide
          Robert Scholte added a comment -

          Fixed in rev. 726

          Show
          Robert Scholte added a comment - Fixed in rev. 726
          Robert Scholte made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Robert Scholte made changes -
          Link This issue is related to QDOX-211 [ QDOX-211 ]

            People

            • Assignee:
              Robert Scholte
              Reporter:
              Robert Scholte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: