-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UnnecessarilyFullyQualified: handle
java.lang
and inconsistent impo…
…rt usages This introduces two improvements: - Where possible `java.lang.SomeType` references are simplified to `SomeType` without introducing an associated `import` statement. - References to `some.package.SomeType` are now also replaced with `SomeType` if said type is already imported and referenced by its simple name elsewhere in the compilation unit. Fixes #2776 PiperOrigin-RevId: 419556583
- Loading branch information
Showing
2 changed files
with
70 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters