diff --git a/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/CompletionSorting.kt b/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/CompletionSorting.kt index 892eed26ee8..b3feb91d44b 100644 --- a/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/CompletionSorting.kt +++ b/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/CompletionSorting.kt @@ -160,15 +160,6 @@ private class DeclarationRemotenessWeigher(private val file: JetFile) : LookupEl return Weight.default } - private fun DeclarationLookupObject.qualifiedName(): String? { - return if (descriptor != null) { - DescriptorUtils.getFqName(descriptor!!).toString() - } - else { - (psiElement as? PsiClass)?.getQualifiedName() - } - } - private inner class ImportCache { private val preciseImports = HashSet() private val preciseImportPackages = HashSet()