[
http://jira.codehaus.org/browse/QDOX-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Hammant closed QDOX-121.
-----------------------------
Assignee: Paul Hammant
Resolution: Fixed
Fix Version/s: 1.8
Fixed in another unknown change.
> JavaDocBuilder.createBinary only considers public methods and fields
> --------------------------------------------------------------------
>
> Key: QDOX-121
> URL: http://jira.codehaus.org/browse/QDOX-121
> Project: QDox
> Issue Type: Bug
> Reporter: Felix Meschberger
> Assignee: Paul Hammant
> Fix For: 1.8
>
> Attachments: qdox_members.diff
>
>
> The JavaDocBuilder.createBinary method is used to create JavaClass instances
> of classes from the class path for which no source code is available. This
> method uses the Class.getMethods() and Class.getFields() methods to get the
> methods and fields of the class. These methods are specified to return only
> the public methods and fields of the class and its super classes.
> Instead of using the getMethods() and getFields() methods the
> Class.getDeclaredMethods() and Class.getDeclaredFields() methods, resp. These
> methods return all methods and fields of the class itself excluding any super
> class.
> The net benefit is we get all methods and fields and do not have to
> distinguish between the class's members and any inherited member.
> Attached patch has been created against trunk from the toplevel directory.
> Permission is of course granted to use the patch.
--
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