Better handler of generics in Type
----------------------------------

                 Key: QDOX-150
                 URL: http://jira.codehaus.org/browse/QDOX-150
             Project: QDox
          Issue Type: Bug
    Affects Versions: 1.8
            Reporter: Vincent Siveton


Suppose a method like the following
{noformat}
  public <T extends RequestItem> List<RequestItem> myMethod(T request) throws 
Exception {
      return null;
    }
{noformat}

Using Java reflection, you will have the correct parameter instead of generic:
{noformat}
public java.util.List XXX.XXXClass.myMethod(java.util.Date) throws 
java.lang.Exception
{noformat}

In QDOX, we have a generic ie T as parameter:
{noformat}
javaMethod.getParameters()[0].getType().getJavaClass() = T instead of 
java.util.Date
{noformat}


-- 
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


Reply via email to