Thursday, May 14, 2009

GetterMethodsReflectionToStringBuilder

Apache Commons Lang has a ToStringBuilder which is sometimes handy.

The other day I needed something like this which "reflects" on public getters() instead of on private fields, so I hacked one; I call it the GetterMethodsReflectionToStringBuilder.

Uploaded to https://issues.apache.org/jira/browse/LANG-503 as suggestion for Commons Lang 3.0.

0 Comments:

Post a comment

<< Home