void (final RestInlineBlock node) { if (!node.validBlock()) { PsiElement el = node.getLastChild(); if (el != null) { final int endOffset = node.getTextRange().getEndOffset(); getHolder().newAnnotation(HighlightSeverity.ERROR, RestBundle.message("ANN.inline.block")).range(TextRange.create(endOffset - 1, endOffset)).create(); } } }