I am looking for a library that, given a tree of objects, performs a message digest or hashing on the entire structure.
I want to see if an object passed to a method gets modified or not (this object contains other objects, who contain objects and so on – none are immutable).
Is there a way to check if the state of any object in the structure changes during the call?