@Contract("_,null,_->false")
  protected boolean isInStringLiteral(@NotNull Editor editor, @Nullable JavaLikeQuoteHandler quoteHandler, int offset) {
    if (offset > 0 && quoteHandler != null) {
      EditorHighlighter highlighter = editor.getHighlighter();
      HighlighterIterator iterator = highlighter.createIterator(offset - 1);
      final IElementType type = iterator.getTokenType();
      if (StringEscapesTokenTypes.STRING_LITERAL_ESCAPES.contains(type) || isInsideLiteral(quoteHandler, iterator)) {
        return true;
      }
    }
    return false;
  }
@Contract("_,null,_->false")
  protected boolean isInStringLiteral(@NotNull Editor editor, @Nullable JavaLikeQuoteHandler quoteHandler, int offset)