void (PsiLiteralExpression left, PsiLiteralExpression right, StringBuilder newExpression) { final String leftText = getLiteralExpressionText(left); final String rightText = getLiteralExpressionText(right); if (left.isTextBlock()) { newExpression.append("\"\"\"\n").append(leftText) .append(right.isTextBlock() ? rightText : PsiLiteralUtil.escapeTextBlockCharacters(rightText)).append("\"\"\""); } else if (right.isTextBlock()) { newExpression.append("\"\"\"\n").append(PsiLiteralUtil.escapeTextBlockCharacters(leftText)).append(rightText).append("\"\"\""); } else { newExpression.append('"').append(leftText).append(rightText).append('"'); } }