title: java toString for any object
body: <p>I have a lot of data objects, and I want to be able to generate a <code>String</code> representing each object, without implementing a <code>toString</code> method for each one.</p>
  
  <p>I'm thinking of reflection for getting the fields and its values.</p>
  
  <p>any other ideas?</p>
  
  <p>thanks.</p>