mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KTIJ-30739 GitOrigin-RevId: 702e09aa8cf679bc5bde0e3787d65ba411dfb698
40 lines
802 B
Plaintext
40 lines
802 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
|
|
get() = <selection><caret>super.bar</selection>
|
|
|
|
override fun equals(other: Any?): Boolean {
|
|
return super.equals(other)
|
|
}
|
|
|
|
override fun foo(value: Int) {
|
|
super.foo(value)
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return super.hashCode()
|
|
}
|
|
|
|
override fun toString(): String {
|
|
return super.toString()
|
|
}
|
|
|
|
/*
|
|
Some another comment
|
|
*/
|
|
fun someAnotherFunction() {
|
|
|
|
}
|
|
}
|
|
|
|
// MEMBER: "foo(value: Int): Unit"
|
|
// MEMBER: "bar: Int"
|
|
// MEMBER: "equals(other: Any?): Boolean"
|
|
// MEMBER: "hashCode(): Int"
|
|
// MEMBER: "toString(): String" |