How to know quickly if any of the get method returns null or not?
<p>I have an object which contains a bunch of get methods, most of get methods return null.
How can I quickly know it?</p>

<p>Currently I am using Println to test each by each, is there any quicker way?</p>

<p>For example</p>

<pre><code>getHostAddress()
getPort()
getProtocol()
getDNS()
</code></pre>

<p>all return null, can I quickly know it? I don't believe debugger can show.</p>
