mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
^KTIJ-29493 ^KTIJ-29489 GitOrigin-RevId: ca55a3f453fddf4e8588673b11bb167f28bf4af0
14 lines
437 B
Plaintext
14 lines
437 B
Plaintext
// "Convert property initializer to getter" "true"
|
|
|
|
fun String.foo() = "bar"
|
|
fun nop() {
|
|
|
|
}
|
|
|
|
interface A {
|
|
var name: String
|
|
get() = "The quick brown fox jumps over the lazy dog".foo()
|
|
set(value) = nop()
|
|
}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.ConvertPropertyInitializerToGetterIntention
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.ConvertPropertyInitializerToGetterFix |