[forge-issues] [JBoss JIRA] (FORGE-1245) Importer+#requiresImport() should return false for types in same package
Matt Benson (JIRA)
jira-events at lists.jboss.org
Sat Oct 5 13:59:02 EDT 2013
[ https://issues.jboss.org/browse/FORGE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Benson reassigned FORGE-1245:
----------------------------------
Assignee: Matt Benson
> Importer+#requiresImport() should return false for types in same package
> ------------------------------------------------------------------------
>
> Key: FORGE-1245
> URL: https://issues.jboss.org/browse/FORGE-1245
> Project: Forge
> Issue Type: Feature Request
> Components: Parsers / File Manipulation
> Affects Versions: 2.x Future
> Reporter: Matt Benson
> Assignee: Matt Benson
>
> The simple approach of comparing the package name of the Importer to the longest subsequence before any final dot in the name of the proposed import should suffice: the only exceptional case should be inner classes, which would require an import in any case in order to refer to one such by its simple name.
--
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