Add imports for fully qualified references to types
Apache 2.0Any fully qualified references to Java types will be replaced with corresponding simple names and import statements, provided that it doesn't result in any conflicts with other imports or types declared in the local compilation unit.
org. openrewrite. java. ShortenFullyQualifiedTypeReferencesmod run . --recipe= org. openrewrite. java. ShortenFullyQualifiedTypeReferencesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.