Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-371

Method.getReturnType does not return fully qualified name

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta4
    • None
    • None
    • None

      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.

              lincolnthree Lincoln Baxter III (Inactive)
              kennardconsulting Richard Kennard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: