19 lines
246 B
Plaintext
Vendored
19 lines
246 B
Plaintext
Vendored
// "Replace with 'newFun()'" "true"
|
|
|
|
class C {
|
|
@Deprecated("", ReplaceWith("newFun()"))
|
|
fun oldFun() {
|
|
newFun()
|
|
}
|
|
}
|
|
|
|
fun newFun(){}
|
|
|
|
fun foo() {
|
|
<caret>if (getC() != null) {
|
|
newFun()
|
|
}
|
|
}
|
|
|
|
fun getC(): C? = null
|