A quick question that is more Intellij than pure K...
# announcements
t
A quick question that is more Intellij than pure Kotlin, but maybe there's a simple solution with the intents and deprecation things in Kotlin. My app is slowly migrating to Kotlin but sill have a lot of Java (even if the 50% Kotlin is passed now :)) I have some singleton that I've migrated to objects and to simplify the migration I've kept things like
Copy code
@JvmStatic
    fun getInstance(): XXX = this
I'd like to know if there's a way to add a deprecation or warning or anything to find the calls to getInstance() from Kotlin (But of course not in Java files)