[forge-issues] [JBoss JIRA] (FORGE-371) Method.getReturnType does not return fully qualified name
Richard Kennard (Created) (JIRA)
jira-events at lists.jboss.org
Sun Oct 30 18:30:45 EDT 2011
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
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
More information about the forge-issues
mailing list