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

JavaParser fails to identify types of ArrayType in field types

    XMLWordPrintable

Details

    Description

      Similar to FORGE-1026, org.jboss.forge.parser.java.Field.getQualifiedType() converts array types into simple types resulting in loss of information about the field 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: