void (@NotNull PsiElement element, @NotNull ActionContext context, @NotNull ModPsiUpdater updater) { final GrBinaryExpression exp = (GrBinaryExpression) element; final IElementType tokenType = exp.getOperationTokenType(); final GrExpression lhs = exp.getLeftOperand(); final String lhsText = lhs.getText(); final GrExpression rhs = exp.getRightOperand(); final String rhsText = rhs.getText(); final String negatedComparison = ComparisonUtils.getNegatedComparison(tokenType); final String newExpression = lhsText + negatedComparison + rhsText; replaceExpressionWithNegatedExpressionString(newExpression, exp); }