Make Kotlin light classes pass "element instanceof StubBasedPsiElement" in LocalSearchScope scope
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
public class ImplementJavaInnerInterface {
|
||||
interface Test {
|
||||
void foo();
|
||||
}
|
||||
|
||||
void test() {
|
||||
Test test = new Test() {
|
||||
@Override
|
||||
public void foo() {
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void usage(Test test) {
|
||||
test.<caret>foo();
|
||||
}
|
||||
}
|
||||
|
||||
// REF: (in KotlinTest).foo()
|
||||
// REF: <anonymous>.foo()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class KotlinTest : ImplementJavaInnerInterface.Test {
|
||||
override fun foo() {}
|
||||
}
|
||||
Reference in New Issue
Block a user