private static boolean isQuotedToken(@NotNull HighlighterIterator tokenIterator, @NotNull CharSequence text) {
    final int startOffset = tokenIterator.getStart();
    final int endOffset = tokenIterator.getEnd();
    if (endOffset - startOffset < 2) return false;
    final char openingQuote = getQuoteAt(text, startOffset);
    final char closingQuote = getQuoteAt(text, endOffset - 1);
    return openingQuote != 0 && closingQuote == openingQuote;
  }
private static boolean isQuotedToken(@NotNull HighlighterIterator tokenIterator, @NotNull CharSequence text)