void (String[] args) { final boolean foo = baz(); final boolean bar = baz(); final Object bazoom = new Object(); <warning descr="'if' statement with negated condition">if</warning>(foo != bar) { System.out.println(""); } else { System.out.println(""); } if(bazoom != null) { System.out.println(""); } else { System.out.println(""); } }