Example: ``` @Deprecated("Library has been general...
# random
o
Example:
Copy code
@Deprecated("Library has been generalised to accept Strings", ReplaceWith("foo(i.toString())"))
fun foo(i:Int) = foo(i.toString()) 
fun foo(s:String) {}
fun test() {
    foo(1)
}
In IJ you will see a quick-fix to migrate.