Code Insight: "Generate equals/hashCode" action
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
open class X {
|
||||
override fun equals(other: Any?) = super.equals(other)
|
||||
override fun hashCode() = super.hashCode()
|
||||
}
|
||||
|
||||
class A(val n: Int) : X() {<caret>
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user