title: Too much boilerplate, how can I reduce my POJO builders?
body: <p>I have several different <a href="http://en.wikipedia.org/wiki/Plain_Old_Java_Object" rel="nofollow">POJOs</a> that use a <a href="http://en.wikipedia.org/wiki/Builder_pattern" rel="nofollow">builder pattern</a>, but after adding a builder for each one and generating <code>Object.toString</code>, <code>Object.hashCode</code> and <code>Object.equals</code>, my classes end up being around 100 lines of code. There has to be a better way to handle this. I think having some sort of a  reflective builder would help out a lot, but I'm not sure this would be good practice and I'm also not sure how I'd exactly make it happen. In other words, is there a way to implement a builder like this?</p>
  
  <p>A simple POJO:</p>
  
  <pre><code>public class Foo {
  
      public int id;
      public String title;
      public boolean change;
      ...
  
  }
  </code></pre>
  
  <p>Then some sort of reflective builder:</p>
  
  <pre><code>Foo = ReflectiveBuilder.from(Foo.class).id(1).title("title").change(false).build();
  </code></pre>