// This file is automatically generated by DemeterJ. CopyVisitor { {{ private java.util.Stack history = new java.util.Stack(); public CopyVisitor(Class firstClass) { try { history.push(firstClass.newInstance()); } catch(Exception e) { e.printStackTrace(); } } }} get copy {{ return history.peek(); }} return Object {{ get_copy() }} before -> Main, s, String {{ Main it = (Main) history.peek(); it.set_s(dest); }} before -> Graph, adjacencies, AdjacencyList {{ Graph it = (Graph) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_adjacencies((AdjacencyList) p); history.push(p); }} after -> Graph, adjacencies, AdjacencyList {{ history.pop(); }} before -> Adjacency, node, Node {{ Adjacency it = (Adjacency) history.peek(); Node p = new Node(); it.set_node(p); history.push(p); }} after -> Adjacency, node, Node {{ history.pop(); }} before -> Adjacency, neighbors, NodeList {{ Adjacency it = (Adjacency) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_neighbors((NodeList) p); history.push(p); }} after -> Adjacency, neighbors, NodeList {{ history.pop(); }} before -> Node, v, int {{ Node it = (Node) history.peek(); it.set_v(dest); }} before -> AdjacencyCons, first, Adjacency {{ AdjacencyCons it = (AdjacencyCons) history.peek(); Adjacency p = new Adjacency(); it.set_first(p); history.push(p); }} after -> AdjacencyCons, first, Adjacency {{ history.pop(); }} before -> AdjacencyCons, rest, AdjacencyList {{ AdjacencyCons it = (AdjacencyCons) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_rest((AdjacencyList) p); history.push(p); }} after -> AdjacencyCons, rest, AdjacencyList {{ history.pop(); }} before -> NodeCons, first, Node {{ NodeCons it = (NodeCons) history.peek(); Node p = new Node(); it.set_first(p); history.push(p); }} after -> NodeCons, first, Node {{ history.pop(); }} before -> NodeCons, rest, NodeList {{ NodeCons it = (NodeCons) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_rest((NodeList) p); history.push(p); }} after -> NodeCons, rest, NodeList {{ history.pop(); }} before -> Down, v, int {{ Down it = (Down) history.peek(); it.set_v(dest); }} before -> PrintVisitor, indent, int {{ PrintVisitor it = (PrintVisitor) history.peek(); it.set_indent(dest); }} before -> PrintVisitor, needSpace, boolean {{ PrintVisitor it = (PrintVisitor) history.peek(); it.set_needSpace(dest); }} before -> SubgraphVisitor, is_equal, boolean {{ SubgraphVisitor it = (SubgraphVisitor) history.peek(); it.set_is_equal(dest); }} before -> EqualVisitor, is_equal, boolean {{ EqualVisitor it = (EqualVisitor) history.peek(); it.set_is_equal(dest); }} before -> DisplayVisitor, indent, int {{ DisplayVisitor it = (DisplayVisitor) history.peek(); it.set_indent(dest); }} before -> TraceVisitor, indent, int {{ TraceVisitor it = (TraceVisitor) history.peek(); it.set_indent(dest); }} }