diff --git a/compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/KotlinLightMethodForDeclaration.kt b/compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/KotlinLightMethodForDeclaration.kt index 8e15f922e40..152147f86dd 100644 --- a/compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/KotlinLightMethodForDeclaration.kt +++ b/compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/KotlinLightMethodForDeclaration.kt @@ -110,4 +110,9 @@ public class KotlinLightMethodForDeclaration( } override fun getUseScope(): SearchScope = origin.getUseScope() + + override fun equals(other: Any?): Boolean = + other is KotlinLightMethodForDeclaration && getName() == other.getName() && origin == other.origin + + override fun hashCode(): Int = getName().hashCode() * 31 + origin.hashCode() }