Move Declarations: Use custom hashing strategy to account for different instances of light elements with common origin
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user