On the non-extendability of Commons Lang ReflectionToStringBuilder
<p>This goes to the fact that you cannot extend a class with no no-arg constructor in Java. The canonical use for <a href="http://commons.apache.org/lang/api-release/index.html" rel="nofollow"><code>ReflectionToStringBuilder</code></a> is as follows</p>

<pre><code>public String toString() {
     return (new ReflectionToStringBuilder(this) {
         protected boolean accept(Field f) {
             return super.accept(f) &amp;&amp; !f.getName().equals("password");
         }
     }).toString();
 }
</code></pre>

<p>Is it possible to somehow not repeat this if it has to be done multiple time. I really think so but maybe someone more advanced than me might have a suggestion. What really want to do is actually add a method.</p>
