Java object graph walker