Build fix for KotlinSpringClassAnnotator after collectNavigationMarkers nullability changes in IDEA 173

This commit is contained in:
Nicolay Mitropolsky
2017-08-23 15:24:53 +03:00
committed by Nikolay Krasko
parent 3f15f7a394
commit 6690f9f1da
@@ -69,7 +69,7 @@ class KotlinSpringClassAnnotator : SpringClassAnnotator() {
return null
}
private fun doCollectMarkers(psiElement: PsiElement, result: MutableCollection<in RelatedItemLineMarkerInfo<PsiElement>>?) {
private fun doCollectMarkers(psiElement: PsiElement, result: MutableCollection<in RelatedItemLineMarkerInfo<PsiElement>>) {
if (psiElement is KtProperty || psiElement is KtParameter) {
for (it in (psiElement as KtDeclaration).toLightElements()) {
val nameIdentifier = (it as? PsiNameIdentifierOwner)?.nameIdentifier ?: continue