[ 
http://jira.codehaus.org/browse/QDOX-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte resolved QDOX-150.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.10

comments in QDOX-68 confirm this features works right now, so changing state to 
resolved

> 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
>            Assignee: Robert Scholte
>             Fix For: 1.10
>
>         Attachments: TestQDOX150.java
>
>
> 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