void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { if (!(element instanceof PsiBinaryExpression binaryExpression)) { return; } final PsiElement parent = binaryExpression.getParent(); if (!(parent instanceof PsiExpressionList expressionList)) { return; } final PsiExpression lhs = binaryExpression.getLOperand(); final PsiExpression rhs = binaryExpression.getROperand(); if (rhs == null) { return; } final PsiExpression[] expressions = expressionList.getExpressions(); final int parameter = expressions.length - 1; expressionList.add(rhs); final Object constant = ExpressionUtils.computeConstantExpression(lhs); if (constant instanceof String) { final PsiExpression newExpression = addParameter(lhs, parameter); if (newExpression == null) { expressionList.addAfter(lhs, binaryExpression); } else { expressionList.addAfter(newExpression, binaryExpression); } } else { expressionList.addAfter(lhs, binaryExpression); } binaryExpression.delete(); }