String (CommentTracker ct, @NotNull List<PsiExpression> joinParts) { StringJoiner joiner = new StringJoiner("+"); int size = joinParts.size(); for (int i = 0; i < joinParts.size(); i++) { PsiExpression joinPart = joinParts.get(i); String partText; if (i == 0) { boolean neighborIsString = false; if (joinParts.size() > 1) { PsiExpression second = joinParts.get(1); if (TypeUtils.isJavaLangString(second.getType())) { neighborIsString = true; } } partText = expressionToCharSequence(ct, joinPart, size, neighborIsString); } else { partText = expressionToCharSequence(ct, joinPart, size, true); } joiner.add(partText); } return joiner.toString(); }