make NullSafeNavigator like NullObject in Groovy