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

Method.getReturnType does not return fully qualified name

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: