Supported propagation for Java subclass of Kotlin class.
This commit is contained in:
+8
-1
@@ -20,8 +20,10 @@ import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.impl.compiled.ClsMethodImpl;
|
||||
import com.intellij.psi.impl.java.stubs.PsiMethodStub;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jet.lang.psi.JetDeclaration;
|
||||
import org.jetbrains.jet.lang.resolve.java.JetClsMethod;
|
||||
|
||||
public class JetClsMethodImpl extends ClsMethodImpl {
|
||||
public class JetClsMethodImpl extends ClsMethodImpl implements JetClsMethod {
|
||||
@NotNull
|
||||
private final PsiElement origin;
|
||||
|
||||
@@ -40,4 +42,9 @@ public class JetClsMethodImpl extends ClsMethodImpl {
|
||||
public PsiElement getNavigationElement() {
|
||||
return origin;
|
||||
}
|
||||
|
||||
@Override
|
||||
public JetDeclaration getOrigin() {
|
||||
return (JetDeclaration) origin;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user