introduce toString() according to the Java Language Specification
-----------------------------------------------------------------
Key: QDOX-151
URL: http://jira.codehaus.org/browse/QDOX-151
Project: QDox
Issue Type: Improvement
Components: Java API
Affects Versions: 1.9
Reporter: Robert Scholte
Priority: Minor
When calling the toString() on most of the model-Java* classes in qdox, it'll
return the complete codeblock.
Their java.lang.reflect equivalent acts a bit different. For example
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Method.html#toString()
Nowhere is documented that toString() will return the complete codeblock.
two choices: keep the current toString(0 as it is and introduce another method
( toMethodString() or toSpecString() or ....)
or rename toString() (to getCodeblock() or ....) and implement the toString()
according to tha javaAPI
--
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