Find Java-style getX() calls in Kotlin source
ProprietaryKotlin synthesizes property syntax for any Java getter that follows the getX()/isX() no-arg convention: obj.x reads the same value as obj.getX(). Writing the JVM-style call in Kotlin source obscures that — flag the call sites for migration to property access.
org. openrewrite. kotlin. interop. FindJavaGetterCallStyleInKotlin$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. interop. FindJavaGetterCallStyleInKotlin$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.