Avoid loading psi for compiled kotlin file if it's possible to get declaration by name from stubs

This commit is contained in:
Nikolay Krasko
2016-12-02 15:58:08 +03:00
parent 299f477a1b
commit 726471d98e
16 changed files with 166 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
package test;
import org.jetbrains.annotations.NotNull;
import test.kotlin.A.B.C.C;
public class FunctionInNestedClassInDataFlowInspection {
void other(@NotNull Object some) {
Object foo = new C().foo(some);
}
}