mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Code Insight: "Generate equals/hashCode" action
This commit is contained in:
9
idea/testData/codeInsight/generate/equalsWithHashCode/singleVarWithJavaSuperClass.java
vendored
Normal file
9
idea/testData/codeInsight/generate/equalsWithHashCode/singleVarWithJavaSuperClass.java
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
public class X {
|
||||
public boolean equals(Object object) {
|
||||
return super.equals(object);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return super.hashCode();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user