Presentation (@NotNull ActionContext context) { return Presentation.of(getFamilyName()) .withHighlighting( myMode == InlineMode.INLINE_ONE ? new TextRange[]{Objects.requireNonNull(myRefExpr).getTextRange()} : ContainerUtil.map2Array(myAllRefs, TextRange.EMPTY_ARRAY, PsiElement::getTextRange)); }