KT-8208: Support static members completion when receiver not-imported

#KT-8208 fixed
This commit is contained in:
Simon Ogorodnik
2017-06-28 22:22:22 +03:00
parent 16505daeea
commit 33c22b8251
36 changed files with 517 additions and 28 deletions
@@ -0,0 +1,11 @@
package bar
fun buz {
SomeClass.<caret>
}
// EXIST: CONST_A
// EXIST: aProc
// EXIST: getA
// EXIST: FooBar
// NOTHING_ELSE
@@ -0,0 +1,17 @@
package javapackage;
public class SomeClass {
public static void aProc() {
}
public static String getA() {
return CONST_A;
}
public static final String CONST_A = "A";
public static class FooBar {
}
}