mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
23 lines
615 B
Plaintext
23 lines
615 B
Plaintext
// "Replace with 'stopKoin()'" "true"
|
|
// WITH_STDLIB
|
|
|
|
package com.example.pkg
|
|
|
|
import com.example.pkg.StandAloneContext.closeKoin
|
|
|
|
object StandAloneContext {
|
|
@Deprecated(
|
|
"Renamed, use stopKoin() instead.",
|
|
ReplaceWith("stopKoin()", "com.example.pkg.StandAloneContext.stopKoin")
|
|
)
|
|
fun closeKoin() = stopKoin()
|
|
|
|
fun stopKoin() {}
|
|
}
|
|
|
|
|
|
fun koin() {
|
|
StandAloneContext.stopKoin()
|
|
}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.replaceWith.DeprecatedSymbolUsageFix |