Build fix for KotlinSpringClassAnnotator after collectNavigationMarkers nullability changes in IDEA 173
This commit is contained in:
committed by
Nikolay Krasko
parent
3f15f7a394
commit
6690f9f1da
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user