[forge-issues] [JBoss JIRA] (FORGE-1026) JavaParser fails to identify types of ArrayType in method return types

Vineet Reynolds (JIRA) jira-events at lists.jboss.org
Sat Jul 20 01:30:26 EDT 2013


     [ https://issues.jboss.org/browse/FORGE-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vineet Reynolds reassigned FORGE-1026:
--------------------------------------

    Assignee: Vineet Reynolds

    
> JavaParser fails to identify types of ArrayType in method return types
> ----------------------------------------------------------------------
>
>                 Key: FORGE-1026
>                 URL: https://issues.jboss.org/browse/FORGE-1026
>             Project: Forge
>          Issue Type: Bug
>          Components: Parsers / File Manipulation
>    Affects Versions: 1.3.3.Final
>            Reporter: Vineet Reynolds
>            Assignee: Vineet Reynolds
>
> {{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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list