Bug 79507 [quick assist] "Inverse if statement" quick assist doesn't work
"Inverse if statement" quick assist replaces if (args.length > 5) System.out.println("OK"); else if (args.length < 3) System.out.println("KO"); with if (args.length <= 5) if (args.length < 3) System.out.println("KO"); else System.out.println("OK");
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
}
			if (operator == InfixExpression.Operator.NOT_EQUALS) {
				return getInversedInfixBooleanExpression(ast,
					rewrite,
					infixExpression,
					InfixExpression.Operator.EQUALS,
					provider);
			}
			if (operator == InfixExpression.Operator.CONDITIONAL_AND) {
				Operator newOperator= InfixExpression.Operator.CONDITIONAL_OR;
				return getInversedAndOrExpression(ast, rewrite, infixExpression, newOperator, provider);
			}
			if (operator == InfixExpression.Operator.CONDITIONAL_OR) {
				Operator newOperator= InfixExpression.Operator.CONDITIONAL_AND;
				return getInversedAndOrExpression(ast, rewrite, infixExpression, newOperator, provider);
			}
			if (operator == InfixExpression.Operator.AND) {
				Operator newOperator= InfixExpression.Operator.OR;
				return getInversedAndOrExpression(ast, rewrite, infixExpression, newOperator, provider);
			}
			if (operator == InfixExpression.Operator.OR) {
				Operator newOperator= InfixExpression.Operator.AND;
				return getInversedAndOrExpression(ast, rewrite, infixExpression, newOperator, provider);
			}
		}
		if (expression instanceof PrefixExpression) {
			PrefixExpression prefixExpression= (PrefixExpression) expression;
			if (prefixExpression.getOperator() == PrefixExpression.Operator.NOT) {
				return getRenamedNameCopy(provider, rewrite, prefixExpression.getOperand());
			}