boolean (HighlighterIterator iterator, int offset) { final IElementType tokenType = iterator.getTokenType(); if (myLiteralTokenSet.contains(tokenType)){ int start = iterator.getStart(); int end = iterator.getEnd(); return end - start >= 1 && offset == end - 1; } return false; }