<p>This method attempts to check for null by just refering to the variable name
as would be done in C++. This ordinarily would be considered a compile error, except the
variable in question is a Boolean, which does an auto unbox to boolean.</p>
<pre>
if (b && b.booleanValue())
should be
if ((b != null) && b.booleanValue())
</pre>