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

JavaParser fails to identify types of ArrayType in method return types

XMLWordPrintable

      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.

              vineet.reynolds_jira Vineet Reynolds (Inactive)
              vineet.reynolds_jira Vineet Reynolds (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: