Ordering of static members in completion

This commit is contained in:
Valentin Kipyatkov
2015-11-03 12:29:25 +03:00
parent 3bd508ca84
commit 7198b897ab
13 changed files with 77 additions and 9 deletions
@@ -49,7 +49,7 @@ class ImportableFqNameClassifier(private val file: KtFile) {
defaultImport,
preciseImport,
allUnderImport,
hasImportFromSamePackage,
siblingImported,
notImported,
notToBeUsedInKotlin
}
@@ -77,7 +77,7 @@ class ImportableFqNameClassifier(private val file: KtFile) {
isImportedWithAllUnderImport(fqName) -> Classification.allUnderImport
hasPreciseImportFromPackage(fqName.parent()) -> Classification.hasImportFromSamePackage
hasPreciseImportFromPackage(fqName.parent()) -> Classification.siblingImported
else -> Classification.notImported
}