Files
kotlin-fork/idea/testData/inspectionsLocal/deprecatedCallableAddReplaceWith/NoCompanionObjectImport.kt.after
T
Mikhail Glukhikh 2125c42328 Make DeprecatedCallableAddReplaceWithInspection applicability based
Removes intention version of the same thing
Includes some optimization of 'Deprecated' annotation detection
2018-04-03 17:46:27 +03:00

10 lines
145 B
Plaintext
Vendored

package pack
import dependency.D
@Deprecated("", ReplaceWith("bar(D.value)", "dependency.D"))
fun foo() {
bar(D.value)
}
fun bar(p: Int){}