private static boolean hasNonClosedLiterals(@NotNull Editor editor, @NotNull QuoteHandler quoteHandler, int offset) {
    HighlighterIterator iterator = createIteratorAndCheckNotAtEnd(editor, offset);
    if (iterator == null) {
      return false;
    }

    return quoteHandler.hasNonClosedLiteral(editor, iterator, offset);
  }
private static boolean hasNonClosedLiterals(@NotNull Editor editor, @NotNull QuoteHandler quoteHandler, int offset)