} else {
// Use this class and its superclasses (not Object) as initial roots
Class superclass = target ;
Set initialRootSet = new HashSet() ;
while ((superclass != null) && !superclass.equals( Object.class )) {
Node node = new NodeImpl( superclass ) ;
gr.add( node ) ;
initialRootSet.add( node ) ;
superclass = superclass.getSuperclass() ;
}