// "Replace with 'newFun()'" "true" class X { @Deprecated("", ReplaceWith("newFun()")) fun oldFun(){} } fun newFun(){} fun foo(x: X) { x?.oldFun() }