public static void processTextWithEscapeSequences(PsiLiteralExpression element, String text, TokenConsumer consumer) {
    StringBuilder unescapedText = new StringBuilder(text.length());
    int[] offsets = new int[text.length() + 1];
    CodeInsightUtilCore.parseStringCharacters(text, unescapedText, offsets);

    int startOffset = (element != null && element.isTextBlock()) ? 3 : 1;
    processTextWithOffsets(element, consumer, unescapedText, offsets, startOffset);
  }
public static void processTextWithEscapeSequences(PsiLiteralExpression element, String text, TokenConsumer consumer)