@Override
  public @Nullable String preprocessOnCopy(PsiFile file, int[] startOffsets, int[] endOffsets, String text) {
    if (!JsonEditorOptions.getInstance().ESCAPE_PASTED_TEXT) {
      return null;
    }
    if (!isSupportedFile(file) || startOffsets.length > 1 || endOffsets.length > 1) {
      return null;
    }
    final int selectionStart = startOffsets[0];
    final int selectionEnd = endOffsets[0];
    final JsonStringLiteral literalExpression = getSingleElementFromSelectionOrNull(file, selectionStart, selectionEnd);

    if (literalExpression == null) {
      return null;
    }

    return StringUtil.unescapeStringCharacters(StringUtil.replaceUnicodeEscapeSequences(text));
  }
@Override
  public @Nullable String preprocessOnCopy(PsiFile file, int[] startOffsets, int[] endOffsets, String text)