void () { boolean foo = fooBaz(); boolean bar = fooBaz(); boolean barangus = fooBaz(); if(<warning descr="Chained equality comparison 'foo == bar == barangus'">foo == bar == barangus</warning>) { System.out.println(""); } if (<warning descr="Chained equality comparison 'foo != bar == barangus'">foo != bar == barangus</warning>) { System.out.println(""); } }