mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Inlay hints: null check textRange: IDEA-220084
GitOrigin-RevId: f69bb49ffb0ac9c858a2e7483d02f5587c413c90
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7c88f535a1
commit
64dd326ea7
@@ -59,7 +59,8 @@ class AnnotationInlayProvider : InlayHintsProvider<AnnotationInlayProvider.Setti
|
||||
}
|
||||
val modifierList = element.modifierList
|
||||
if (modifierList != null) {
|
||||
val offset = modifierList.textRange.startOffset
|
||||
val textRange = modifierList.textRange ?: return true
|
||||
val offset = textRange.startOffset
|
||||
if (presentations.isNotEmpty()) {
|
||||
val presentation = SequencePresentation(presentations)
|
||||
val prevSibling = element.prevSibling
|
||||
|
||||
Reference in New Issue
Block a user