Find classes with manual equals/hashCode overrides — data class candidate
ProprietaryA non-data class that overrides both equals and hashCode over its own fields is the canonical shape data class exists for. Migrating gives equals/hashCode/toString/copy()/componentN() for free and removes the maintenance hazard of editing one of the two implementations.
org. openrewrite. kotlin. interop. FindManualEqualsHashCode$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. interop. FindManualEqualsHashCode$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.