protected static int wrapWithParensIfNeeded(@NotNull PsiElement psiAtOffset,
                               @NotNull Document document,
                               int caretOffset,
                               @NotNull JavaLikeQuoteHandler quoteHandler) {
    if (quoteHandler.needParenthesesAroundConcatenation(psiAtOffset)) {
      document.insertString(psiAtOffset.getTextRange().getEndOffset(), ")");
      document.insertString(psiAtOffset.getTextRange().getStartOffset(), "(");
      caretOffset++;
    }
    return caretOffset;
  }
protected static int wrapWithParensIfNeeded(@NotNull PsiElement psiAtOffset,
                               @NotNull Document document,
                               int caretOffset,
                               @NotNull JavaLikeQuoteHandler quoteHandler)