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

Importer+#requiresImport() should return false for types in same package

XMLWordPrintable

      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.

              mbenson_jira Matt Benson (Inactive)
              mbenson_jira Matt Benson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: