mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
12 lines
394 B
Kotlin
12 lines
394 B
Kotlin
// "Surround with null check" "true"
|
|
|
|
fun foo(p: String?) {
|
|
Util.f1(Util.f2(p<caret>.length), 0)
|
|
}
|
|
|
|
object Util {
|
|
fun f1(o: Any, p: Int): Any = o
|
|
fun f2(o: Any): Any = o
|
|
}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.SurroundWithNullCheckFixFactory$SurroundWithNullCheckFix |