[
https://issues.jboss.org/browse/FORGE-371?page=com.atlassian.jira.plugin....
]
Lincoln Baxter III closed FORGE-371.
------------------------------------
Resolution: Done
Done, please verify. Right now this also includes generics information:
java.util.List<Long> but if you want that removed, I can do that and create a
different method for generic type. Let me know.
Method.getReturnType does not return fully qualified name
---------------------------------------------------------
Key: FORGE-371
URL:
https://issues.jboss.org/browse/FORGE-371
Project: Forge
Issue Type: Feature Request
Reporter: Richard Kennard
Assignee: Lincoln Baxter III
Fix For: 1.0.0.Beta4
org.jboss.forge.parser.java.Method.getReturnType returns a String, rather than a
JavaClass, because "there's no way to tell if the type we are returning is
actually something we can get the sources of" (Lincoln).
I think this is fine, but if we're using Strings it needs to be the fully qualified
name, or else there's no way to understand what it actually is. At the moment it just
returns "Long" instead of "java.lang.Long" and "Date"
instead of "java.util.Date" etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira