Find Realm.getDefaultInstance() calls

Proprietary

Realm Java/Kotlin is in maintenance and was effectively superseded by Realm Kotlin (io.realm.kotlin) and ultimately by MongoDB Atlas Device SDKs. Each Realm.getDefaultInstance() is a candidate for migration to Room + DataStore, or to the modern Realm Kotlin SDK.

org.openrewrite.kotlin.android.FindRealmUsage$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.android.FindRealmUsage$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.