private static @NotNull Result getResultAndSplitStringIfTooLong(final @NotNull Request req,
                                                                    final @NotNull PyStringElement leftElem,
                                                                    final @NotNull PyStringElement rightElem,
                                                                    final @NotNull String replacement,
                                                                    final @NotNull String quote) {
      int cutIntoRight = rightElem.getContentRange().getStartOffset();
      String lineEnd = "";
      if (!replacement.isEmpty()) {
        cutIntoRight = replacement.length() + rightElem.getQuote().length();
        int contentWithQuoteStartColumn = leftElem.getTextOffset() + leftElem.getPrefixLength() - getLeftLineStartOffset(req);
        int quotePos = rightElem.getTextOffset() + rightElem.getContentRange().getStartOffset() + replacement.length();
        req.document.insertString(quotePos, rightElem.getQuote());
        req.document.insertString(quotePos, StringUtil.repeat(" ", contentWithQuoteStartColumn));
        lineEnd = quote + "\\\n";
      }
      return new Result(replacement + lineEnd, 0, leftElem.getQuote().length(), cutIntoRight);
    }
private static @NotNull Result getResultAndSplitStringIfTooLong(final @NotNull Request req,
                                                                    final @NotNull PyStringElement leftElem,
                                                                    final @NotNull PyStringElement rightElem,
                                                                    final @NotNull String replacement,
                                                                    final @NotNull String quote)