mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
25 lines
505 B
Plaintext
25 lines
505 B
Plaintext
// "Generate 'hashCode()'" "true"
|
|
// WITH_STDLIB
|
|
// ERROR: Abstract member cannot be accessed directly
|
|
|
|
interface I
|
|
|
|
abstract class A {
|
|
abstract override fun hashCode(): Int
|
|
abstract override fun equals(other: Any?): Boolean
|
|
}
|
|
|
|
class B : A(), I {
|
|
override fun equals(other: Any?): Boolean {
|
|
return super.equals(other)
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return javaClass.hashCode()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix |