// 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, c, Container {{ Main it = (Main) history.peek(); Container p = new Container(); it.set_c(p); history.push(p); }} after -> Main, c, Container {{ history.pop(); }} before -> Container, cap, int {{ Container it = (Container) history.peek(); it.set_cap(dest); }} before -> Container, noise3, Noise3 {{ Container it = (Container) history.peek(); Noise3 p = new Noise3(); it.set_noise3(p); history.push(p); }} after -> Container, noise3, Noise3 {{ history.pop(); }} before -> Noise3, items, ItemList {{ Noise3 it = (Noise3) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_items((ItemList) p); history.push(p); }} after -> Noise3, items, ItemList {{ history.pop(); }} before -> Noise3, noise4, OptItem {{ Noise3 it = (Noise3) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_noise4((OptItem) p); history.push(p); }} after -> Noise3, noise4, OptItem {{ history.pop(); }} before -> Item2, item, Item {{ Item2 it = (Item2) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_item((Item) p); history.push(p); }} after -> Item2, item, Item {{ history.pop(); }} before -> ItemCons, first, Item {{ ItemCons it = (ItemCons) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_first((Item) p); history.push(p); }} after -> ItemCons, first, Item {{ history.pop(); }} before -> ItemCons, rest, ItemList {{ ItemCons it = (ItemCons) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_rest((ItemList) p); history.push(p); }} after -> ItemCons, rest, ItemList {{ history.pop(); }} before -> Noise1, noise0, Element {{ Noise1 it = (Noise1) history.peek(); Element p = new Element(); it.set_noise0(p); history.push(p); }} after -> Noise1, noise0, Element {{ history.pop(); }} before -> Noise1, noise1, Element {{ Noise1 it = (Noise1) history.peek(); Element p = new Element(); it.set_noise1(p); history.push(p); }} after -> Noise1, noise1, Element {{ history.pop(); }} before -> Noise2, noise2, Container {{ Noise2 it = (Noise2) history.peek(); Container p = new Container(); it.set_noise2(p); history.push(p); }} after -> Noise2, noise2, Container {{ history.pop(); }} before -> Element, weight, int {{ Element it = (Element) history.peek(); it.set_weight(dest); }} before -> Pair, w, int {{ Pair it = (Pair) history.peek(); it.set_w(dest); }} before -> Pair, v, int {{ Pair it = (Pair) 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); }} }