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

Robert Scholte updated QDOX-86:
-------------------------------

    Attachment: qdox-86.patch

problem located and resolved. patch includes an improved 
JavaClass.getNestedClassByName(String name), which only supported a single 
level nested class. This method is now also used in Type.getJavaClass()
A test is included based on the example in this issue

> inner classes not resolved correctly when appears as method param
> -----------------------------------------------------------------
>
>                 Key: QDOX-86
>                 URL: http://jira.codehaus.org/browse/QDOX-86
>             Project: QDox
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 1.6
>            Reporter: Alexandre Vasseur
>             Fix For: 1.8
>
>         Attachments: qdox-86.patch
>
>
> Hi
> QDox (1.6 snapshot + 1.4 + 1.5) reports a wrong parameter type in such a case:
> package some.pack;
> class Test {
>  void some(Inner.Inner2 a) {}
>  static interface Inner {
>       static interface Inner2 { }
>  }
> }
> In such a case the argument of method "some" is reported to be of type
> "Inner.Inner2" ie the package information is simply lost.
> method.parameters[0].type.getJavaClass().getFullyQualifiedName()
> ---> Inner.Inner2 instead of some.pack.Test$Inner$Inner2
> ---------
> Joe said: "Looks like a bug in ModelBuilder. Could you raise a Jira issue."

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