Files
kotlin-fork/idea/testData/codeInsight/overrideImplement/overrideRespectCaretPosition.kt.after
T
2014-10-14 00:39:23 +04:00

32 lines
622 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 = <selection><caret>0</selection>
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()
}
override fun toString(): String {
return super<A>.toString()
}
/*
Some another comment
*/
fun someAnotherFunction() {
}
}