KT-38027 Support Code Vision feature in Kotlin
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// MODE: inheritors
|
||||
|
||||
<# block [ 2 Inheritors] #>
|
||||
abstract class SomeClass {
|
||||
<# block [ 1 Override] #>
|
||||
open fun someFun() = ""
|
||||
<# block [ 2 Implementations] #>
|
||||
abstract fun someAbstractFun()
|
||||
}
|
||||
|
||||
class DerivedClassA : SomeClass {
|
||||
override fun someFun() = "overridden"
|
||||
override fun someAbstractFun() = "overridden"
|
||||
}
|
||||
class DerivedClassB : SomeClass {
|
||||
override fun someAbstractFun() = "overridden"
|
||||
}
|
||||
Reference in New Issue
Block a user