if (isNull(foo) || isNull(foo.getBar) || isNull(foo.getBar.getBar2) { return false; }Update: If minimal evaluation is not always enabled, and foo.getBar is NULL.I will get a segfault when evaluating foo.getBar.getBar2.
huh? post the whole code plz. It should work. -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/