Hey Richard,<br><br>We don&#39;t return a JavaType because there&#39;s no way to tell if the type we are returning is actually something we can get the sources of. We could perhaps implement a strategy where if a JavaType is produced for a type such as &quot;java.lang.ArrayList&quot;, then we would need to throw &quot;MissingSourceException&quot; if we attempt to perform any operations on that class. Thoughts?<br>
<br>All good finds! This API was, as I hinted at before - quickly moved to a state where it could be used, but never &quot;polished&quot;) These are certainly things we can clean up. Just put in JIRAs and we&#39;ll make sure the kinks get worked out :)<br>
<br>~Lincoln<br><br><div class="gmail_quote">On Sun, Oct 30, 2011 at 1:38 AM, Richard Kennard <span dir="ltr">&lt;<a href="mailto:richard@kennardconsulting.com">richard@kennardconsulting.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi guys,<br>
<br>
A couple questions regarding org.jboss.forge.parser.java.Method.getReturnType:<br>
<br>
1. How come it returns a String, instead of a JavaType?<br>
2. The String is just the name, not the fully qualified name. How can I get the fully qualified name?<br>
<br>
Regards,<br>
<br>
Richard.<br>
_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>