PsiExpression (@NotNull PsiPolyadicExpression expression, @NotNull PsiJavaToken separator, @NotNull CommentTracker ct) { PsiElement prev = separator; if (prev.getPrevSibling() instanceof PsiWhiteSpace) prev = prev.getPrevSibling(); ct.markRangeUnchanged(expression.getFirstChild(), prev.getPrevSibling()); PsiElementFactory factory = JavaPsiFacade.getElementFactory(expression.getProject()); String rOperands = expression.getText().substring(0, prev.getStartOffsetInParent()); return factory.createExpressionFromText(rOperands, expression.getParent()); }