title: Simplify java if statement
body: <p>Can I simplify this java if construct? It seems too verbose to me, I'd like to have it shorter.</p>
  
  <p>A is persistent Object, which will be null if it's context is accessed first time. Than A is instatniated and given content, and if this fails, some backup content is given to A.</p>
  
  <pre><code>if (A == null) {
      A = staticGetMethod();
      if (A == null) A = new BackupAContent() { ... };
  }
  </code></pre>