private void summariseNode ( final ObjectGraphNode node ) { int size = node . getSize ( ) ; node . removeAll ( ) ; node . setSize ( size ) ; }
For some types we don t care about their internals so just summarise the size .