Java toString - ToStringBuilder not sufficient; wont traverse
I need to be able to traverse through my entire object graph and log all contents of all member fields. So Object A has a collection of Object Bs which has a collection of Object Cs and A, B, C have additional fields on them, etc. Apache Commons ToStringBuilder is not sufficient since it won't traverse down an object graph or output contents of a collection.

Anyone know of another library that will do this or have a code snippet that does this?
Java toString - ToStringBuilder not sufficient; wont traverse
===

I need to be able to traverse through my entire object graph and log all contents of all member fields. So Object A has a collection of Object Bs which has a collection of Object Cs and A, B, C have additional fields on them, etc. Apache Commons ToStringBuilder is not sufficient since it won't traverse down an object graph or output contents of a collection.

Anyone know of another library that will do this or have a code snippet that does this?