Files
kotlin/idea/testData/codeInsight/generate/equalsWithHashCode/noVarsCommon.kt.after

16 lines
327 B
Plaintext
Vendored

// PLATFORM: Common
class A {
fun foo() {
}
<caret>override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
return true
}
override fun hashCode(): Int {
return this::class.hashCode()
}
}