[
https://issues.jboss.org/browse/FORGE-1245?page=com.atlassian.jira.plugin...
]
Matt Benson updated FORGE-1245:
-------------------------------
Description: 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. (was: The simple approach
of comparing the package name of the Importer to the longest subsequenc 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. )
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
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