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

JavaParser fails to identify types of ArrayType in method return types

    Details

      Description

      org.jboss.forge.parser.java.Method.getQualifiedReturnType() converts array types into simple types resulting in loss of information about the return type.

      This is due to Arrays being stripped away when org.jboss.forge.parser.java.impl.AbstractJavaSource.resolveType(String) is invoked. The type returned by AbstractJavaSource omits any information about the ArrayType in the provided argument, and this is not accounted for when returning the qualified type.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  vineet.reynolds Vineet Reynolds
                  Reporter:
                  vineet.reynolds Vineet Reynolds
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: