String (PsiPolyadicExpression polyadicExpression, String updatedAddend, CommentTracker ct) { PsiExpression lastElement = Objects.requireNonNull(ArrayUtil.getLastElement(polyadicExpression.getOperands())); PsiJavaToken lastToken = Objects.requireNonNull(polyadicExpression.getTokenBeforeOperand(lastElement)); PsiElement from = polyadicExpression.getFirstChild(); PsiElement to = lastToken.getPrevSibling(); return StreamEx.iterate(from, PsiElement::getNextSibling).takeWhileInclusive(e -> !to.equals(e)).map(ct::text).joining() + updatedAddend; }