import EDU.neu.ccs.demeter.dj.*; class Main { public static void main(String[] args) { System.out.println(TraversalGraph.version()); ClassGraph cg = new ClassGraph(); // constructed from *.java A a = new A(new C(new D())); Strategy sg = new Strategy("from A to D"); TraversalGraph tg = TraversalGraph.compute(cg, sg); tg.traverse(a, new MyVisitor()); System.out.println("Traversal Graph for from A to D"); System.out.println(tg); } }