mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
UAnnotationUtils.getContainingAnnotationEntry made aware of polyadic expressions
This commit is contained in:
@@ -92,6 +92,7 @@ fun getContainingAnnotationEntry(uElement: UElement?): Pair<PsiAnnotation, Strin
|
||||
retrievePsiAnnotationEntry(parent, null)
|
||||
else
|
||||
tryConvertToEntry(uElement, parent, name)
|
||||
is UPolyadicExpression -> retrievePsiAnnotationEntry(parent, null)
|
||||
is UNamedExpression -> retrievePsiAnnotationEntry(parent, parent.name)
|
||||
else -> null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user