// "Replace with 'newFun(p)'" "true" class X { @Deprecated("", ReplaceWith("newFun(p)")) fun oldFun(p: Any) { newFun(p) } fun newFun(p: Any){} } fun X.foo() { this.oldFun(this.toString()) }