PsiExpression (@NotNull PsiElementFactory factory, @NotNull PsiPolyadicExpression expression, @NotNull PsiExpression operand, CommentTracker tracker) { final StringBuilder sb = new StringBuilder(); for (PsiExpression e : expression.getOperands()) { if (e == operand) continue; final PsiJavaToken token = expression.getTokenBeforeOperand(e); if (token != null && !sb.isEmpty()) { sb.append(token.getText()).append(" "); } tracker.markUnchanged(ObjectUtils.notNull(PsiUtil.skipParenthesizedExprDown(e), e)); sb.append(e.getText()); } return factory.createExpressionFromText(sb.toString(), expression); }