mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 04:35:22 +07:00
15 lines
397 B
Kotlin
15 lines
397 B
Kotlin
// "Replace with 'New'" "true"
|
|
package some
|
|
|
|
object New {
|
|
fun foo() {}
|
|
}
|
|
|
|
@Deprecated("Use New", replaceWith = ReplaceWith("New"))
|
|
object Old {
|
|
fun foo() {}
|
|
}
|
|
|
|
val test = some.<caret>Old
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.replaceWith.DeprecatedSymbolUsageFix |