Make project compilable after PurelyImplements annotation introduction

This commit is contained in:
Denis Zharkov
2015-07-02 19:28:39 +03:00
parent a218c1359f
commit 5c60a1bdb8
17 changed files with 23 additions and 22 deletions
@@ -117,7 +117,7 @@ class ParameterNameAndTypeCompletion(
if (parameterType.isVisible(visibilityFilter)) {
val lookupElement = MyLookupElement.create("", name, ArbitraryType(parameterType), lookupElementFactory)
val count = lookupElementToCount[lookupElement] ?: 0
lookupElementToCount[lookupElement] = count + 1
lookupElementToCount[lookupElement!!] = count + 1
}
}
}
@@ -211,7 +211,7 @@ private fun lookupElementsForNullable(factory: () -> LookupElement?): Collection
}
lookupElement = lookupElement!!.suppressAutoInsertion()
lookupElement = lookupElement!!.assignSmartCompletionPriority(SmartCompletionItemPriority.NULLABLE)
result.add(lookupElement)
result.add(lookupElement!!)
}
lookupElement = factory()
@@ -227,7 +227,7 @@ private fun lookupElementsForNullable(factory: () -> LookupElement?): Collection
}
lookupElement = lookupElement!!.suppressAutoInsertion()
lookupElement = lookupElement!!.assignSmartCompletionPriority(SmartCompletionItemPriority.NULLABLE)
result.add(lookupElement)
result.add(lookupElement!!)
}
return result