void (@NotNull Project project, @NotNull LanguageLevel languageLevel, @NotNull PyBinaryExpression expression, @NotNull String text) { final PyExpression newExpression = PyElementGenerator .getInstance(project) .createExpressionFromText(languageLevel, text); expression.replace(newExpression); }