Better completion for static members: special behavior in case of imports from same class exist

This commit is contained in:
Valentin Kipyatkov
2015-11-02 21:21:11 +03:00
parent ca437e51c4
commit 06812aed11
20 changed files with 281 additions and 47 deletions
@@ -0,0 +1,9 @@
import java.util.Collections.max
fun foo() {
lastIndexOfSub<caret>
}
// INVOCATION_COUNT: 2
// EXIST_JAVA_ONLY: { allLookupStrings: "lastIndexOfSubList", itemText: "Collections.lastIndexOfSubList" }
// NOTHING_ELSE