Files
Andrey Cherkasov 9258796538 [kotlin] Port CreateKotlinSubClassIntention for K2
^KTIJ-29047

GitOrigin-RevId: b48820ae50584c0a6af7416c4f1d42efba58cf19
2024-07-11 08:53:59 +00:00

29 lines
658 B
Plaintext

// "Implement interface" "true"
// WITH_STDLIB
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
class Container {
interface Base {
val x: Boolean
val y: Double
get() = 3.14
fun foo(): String = ""
fun bar(z: Int): String
}
}
class BaseImpl : Container.Base {
override val x: Boolean
get() = TODO("Not yet implemented")
override fun bar(z: Int): String {
TODO("Not yet implemented")
}
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.intentions.CreateKotlinSubClassIntention
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.intentions.CreateKotlinSubClassIntention