void (@NotNull PsiElement element, int offset, @NotNull @InspectionMessage String message) { final int nodeStartOffset = element.getTextRange().getStartOffset(); getHolder().newAnnotation(HighlightSeverity.ERROR, message).range(TextRange.from(offset, 1).shiftRight(nodeStartOffset)).create(); }