title: Check chains of "get" calls for null
body: <p>Let's say I'd like to perform the following command:</p>
  
  <pre><code>house.getFloor(0).getWall(WEST).getDoor().getDoorknob();
  </code></pre>
  
  <p>To avoid a NullPointerException, I'd have to do the following if:</p>
  
  <pre><code>if (house != null &amp;&amp; house.getFloor(0) &amp;&amp; house.getFloor(0).getWall(WEST) != null
    &amp;&amp; house.getFloor(0).getWall(WEST).getDoor() != null) ...
  </code></pre>
  
  <p>Is there a way or an already existing Utils class that does this more elegantly, let's say something like the following?</p>
  
  <pre><code>checkForNull(house.getFloor(0).getWall(WEST).getDoor().getDoorknob());
  </code></pre>