// 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 -> Rectangle, x, int {{ Rectangle it = (Rectangle) history.peek(); it.set_x(dest); }} before -> Rectangle, y, int {{ Rectangle it = (Rectangle) history.peek(); it.set_y(dest); }} before -> Rectangle, width, int {{ Rectangle it = (Rectangle) history.peek(); it.set_width(dest); }} before -> Rectangle, height, int {{ Rectangle it = (Rectangle) history.peek(); it.set_height(dest); }} before -> Circle, x, int {{ Circle it = (Circle) history.peek(); it.set_x(dest); }} before -> Circle, y, int {{ Circle it = (Circle) history.peek(); it.set_y(dest); }} before -> Circle, radius, int {{ Circle it = (Circle) history.peek(); it.set_radius(dest); }} before -> Combination, shape_list, Shape_List {{ Combination it = (Combination) history.peek(); Shape_List p = new Shape_List(); it.set_shape_list(p); history.push(p); }} after -> Combination, shape_list, Shape_List {{ history.pop(); }} 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 -> Shape_List, first, Nonempty_Shape_List {{ Shape_List it = (Shape_List) history.peek(); Nonempty_Shape_List p = new Nonempty_Shape_List(); it.set_first(p); history.push(p); }} after -> Shape_List, first, Nonempty_Shape_List {{ history.pop(); }} before -> Nonempty_Shape_List, it, Shape {{ Nonempty_Shape_List it = (Nonempty_Shape_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((Shape) p); history.push(p); }} after -> Nonempty_Shape_List, it, Shape {{ history.pop(); }} before -> Nonempty_Shape_List, next, Nonempty_Shape_List {{ Nonempty_Shape_List it = (Nonempty_Shape_List) history.peek(); Nonempty_Shape_List p = new Nonempty_Shape_List(); it.set_next(p); history.push(p); }} after -> Nonempty_Shape_List, next, Nonempty_Shape_List {{ history.pop(); }} }