void (@NotNull PsiExpression expression, boolean value) { SimplifyBooleanExpressionFix fix = new SimplifyBooleanExpressionFix(expression, value); if (fix.isAvailable(expression)) { fix.invoke(expression); } }