void (Object o) { boolean b; b = <warning descr="Parentheses around '(o instanceof String)' are unnecessary">(o instanceof String)</warning>; final boolean b1 = (b) ? <warning descr="Parentheses around '(true)' are unnecessary">(true)</warning> : false; }