Didn't see my favorite on the list: creating the bool 2. I believe there are a couple of methods in the JDK that do
if (dangerousFlag == true) doCheck();
...
foo(dangerousFlag ? bar : baz);