Files
kotlin-fork/idea/testData/codeInsight/overrideImplement/overrideRespectCaretPosition.kt.after
T

27 lines
511 B
Plaintext

open class A() {
open fun foo(value : Int) : Unit = println(value)
open val bar : Int = 0
}
class C : A() {
val constant = 42
// Some comment
override val bar: Int = 0
override fun equals(other: Any?): Boolean {
return super<A>.equals(other)
}
override fun foo(value: Int) {
super<A>.foo(value)
}
override fun hashCode(): Int {
return super<A>.hashCode()
}
/*
Some another comment
*/
fun someAnotherFunction() {
}
}