Files
kotlin-fork/idea/testData/codeInsight/overrideImplement/doNotOverrideFinal.kt.after
T
2015-07-28 22:39:31 +03:00

37 lines
584 B
Plaintext
Vendored

open class A {
fun a(){}
fun b(){}
}
interface I {
fun b()
}
abstract class B : A() {
open fun f(){}
abstract fun g()
fun h(){}
}
class C : B(), I {
override fun equals(other: Any?): Boolean {
<selection><caret>return super<B>.equals(other)</selection>
}
override fun f() {
super<B>.f()
}
override fun g() {
throw UnsupportedOperationException()
}
override fun hashCode(): Int {
return super<B>.hashCode()
}
override fun toString(): String {
return super<B>.toString()
}
}