Move Declarations: Use custom hashing strategy to account for different instances of light elements with common origin

This commit is contained in:
Alexey Sedunov
2015-08-14 21:07:21 +03:00
parent 03f08326fa
commit 969b90d301
2 changed files with 26 additions and 3 deletions
@@ -18,8 +18,9 @@ package org.jetbrains.kotlin.asJava
import org.jetbrains.kotlin.psi.JetDeclaration
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiNamedElement
public interface KotlinLightElement<T : JetDeclaration, D : PsiElement> {
public interface KotlinLightElement<T : JetDeclaration, D : PsiElement> : PsiNamedElement {
public fun getOrigin(): T?
public fun getDelegate(): D