Use Char.isLowSurrogate() instead of Character.isLowSurrogate(c)
ProprietaryPrefer the multiplatform Kotlin extension c.isLowSurrogate() over the JVM-only Character.isLowSurrogate(c).
org. openrewrite. kotlin. migrate. UseCharIsLowSurrogate$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseCharIsLowSurrogate$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.