// 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, programs, PathSpec_PList {{ Main it = (Main) history.peek(); PathSpec_PList p = new PathSpec_PList(); it.set_programs(p); history.push(p); }} after -> Main, programs, PathSpec_PList {{ history.pop(); }} before -> Join, first, PathSpec {{ Join it = (Join) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_first((PathSpec) p); history.push(p); }} after -> Join, first, PathSpec {{ history.pop(); }} before -> Join, second, PathSpec {{ Join it = (Join) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_second((PathSpec) p); history.push(p); }} after -> Join, second, PathSpec {{ history.pop(); }} before -> Merge, first, PathSpec {{ Merge it = (Merge) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_first((PathSpec) p); history.push(p); }} after -> Merge, first, PathSpec {{ history.pop(); }} before -> Merge, second, PathSpec {{ Merge it = (Merge) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_second((PathSpec) p); history.push(p); }} after -> Merge, second, PathSpec {{ history.pop(); }} before -> Simple, source, Node {{ Simple it = (Simple) history.peek(); Node p = new Node(); it.set_source(p); history.push(p); }} after -> Simple, source, Node {{ history.pop(); }} before -> Simple, target, Node {{ Simple it = (Simple) history.peek(); Node p = new Node(); it.set_target(p); history.push(p); }} after -> Simple, target, Node {{ history.pop(); }} before -> Path, source, Node {{ Path it = (Path) history.peek(); Node p = new Node(); it.set_source(p); history.push(p); }} after -> Path, source, Node {{ history.pop(); }} before -> Path, middle, Node_PList {{ Path it = (Path) history.peek(); Node_PList p = new Node_PList(); it.set_middle(p); history.push(p); }} after -> Path, middle, Node_PList {{ history.pop(); }} before -> Path, target, Node {{ Path it = (Path) history.peek(); Node p = new Node(); it.set_target(p); history.push(p); }} after -> Path, target, Node {{ history.pop(); }} before -> ContainsVisitor, n, Node {{ ContainsVisitor it = (ContainsVisitor) history.peek(); Node p = new Node(); it.set_n(p); history.push(p); }} after -> ContainsVisitor, n, Node {{ history.pop(); }} before -> Node, v, Ident {{ Node it = (Node) 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); }} before -> PathSpec_PList, first, Nonempty_PathSpec_PList {{ PathSpec_PList it = (PathSpec_PList) history.peek(); Nonempty_PathSpec_PList p = new Nonempty_PathSpec_PList(); it.set_first(p); history.push(p); }} after -> PathSpec_PList, first, Nonempty_PathSpec_PList {{ history.pop(); }} before -> Node_PList, first, Nonempty_Node_PList {{ Node_PList it = (Node_PList) history.peek(); Nonempty_Node_PList p = new Nonempty_Node_PList(); it.set_first(p); history.push(p); }} after -> Node_PList, first, Nonempty_Node_PList {{ history.pop(); }} before -> Nonempty_PathSpec_PList, it, PathSpec {{ Nonempty_PathSpec_PList it = (Nonempty_PathSpec_PList) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((PathSpec) p); history.push(p); }} after -> Nonempty_PathSpec_PList, it, PathSpec {{ history.pop(); }} before -> Nonempty_PathSpec_PList, next, Nonempty_PathSpec_PList {{ Nonempty_PathSpec_PList it = (Nonempty_PathSpec_PList) history.peek(); Nonempty_PathSpec_PList p = new Nonempty_PathSpec_PList(); it.set_next(p); history.push(p); }} after -> Nonempty_PathSpec_PList, next, Nonempty_PathSpec_PList {{ history.pop(); }} before -> Nonempty_Node_PList, it, Node {{ Nonempty_Node_PList it = (Nonempty_Node_PList) history.peek(); Node p = new Node(); it.set_it(p); history.push(p); }} after -> Nonempty_Node_PList, it, Node {{ history.pop(); }} before -> Nonempty_Node_PList, next, Nonempty_Node_PList {{ Nonempty_Node_PList it = (Nonempty_Node_PList) history.peek(); Nonempty_Node_PList p = new Nonempty_Node_PList(); it.set_next(p); history.push(p); }} after -> Nonempty_Node_PList, next, Nonempty_Node_PList {{ history.pop(); }} }