mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
14 lines
362 B
Plaintext
14 lines
362 B
Plaintext
// "Surround with null check" "true"
|
|
|
|
object Obj {
|
|
fun foo(x: Int) = x
|
|
}
|
|
|
|
fun use(arg: Int?) {
|
|
if (arg != null) {
|
|
Obj.foo(arg)
|
|
}
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.SurroundWithNullCheckFixFactory$SurroundWithNullCheckFix |