Files
Mikhail Glukhikh 56e6062bb9 Make DeprecatedCallableAddReplaceWithInspection applicability based
Removes intention version of the same thing
Includes some optimization of 'Deprecated' annotation detection

GitOrigin-RevId: bf003b3f7685ee6520be6adce3713fc9278a1b63
2018-04-03 17:46:27 +03:00

6 lines
125 B
Plaintext

@Deprecated("", ReplaceWith("bar(\"\$p \${p + 1} $0\")"))
fun foo(p: Int) {
bar("$p ${p + 1} $0")
}
fun bar(s: String){}