Find if (log.isWarnEnabled) ... guards
ProprietaryWarning logs are nearly always enabled. The guard is almost certainly dead code — drop it and use the parameterized form.
org. openrewrite. kotlin. logging. FindIsWarnEnabledGuard$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. logging. FindIsWarnEnabledGuard$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.