title: Any simple way to test null before convert an object to string
body: <p>I always write</p>
  
  <pre><code>Object o;
  if (o!=null)
  String s = o.toString();
  </code></pre>
  
  <p>If there simple way to handle this case?</p>