title: Apache Commons toString utility that only includes fields that have value
body: <p>Is there a toString utility from Apache Commons that will only include in the resulting toString value those fields that are NOT null?</p>
  
  <p>For example:</p>
  
  <pre><code>public class Person {
  String name;
  String height;
  String age;
  }
  </code></pre>
  
  <p>And create an instance where it has a name and age. Then calling the utility for example:</p>
  
  <pre><code>utility.toStringNonNull(person);
  </code></pre>
  
  <p>Will output:</p>
  
  <p>[name=Mary, age=28]</p>