// 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 -> A, b_list, B_List {{ A it = (A) history.peek(); B_List p = new B_List(); it.set_b_list(p); history.push(p); }} after -> A, b_list, B_List {{ history.pop(); }} before -> B, y, Y {{ B it = (B) history.peek(); Y p = new Y(); it.set_y(p); history.push(p); }} after -> B, y, Y {{ history.pop(); }} before -> B, z, Z {{ B it = (B) history.peek(); Z p = new Z(); it.set_z(p); history.push(p); }} after -> B, z, Z {{ history.pop(); }} before -> Main, s, String {{ Main it = (Main) history.peek(); it.set_s(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 -> B_List, first, Nonempty_B_List {{ B_List it = (B_List) history.peek(); Nonempty_B_List p = new Nonempty_B_List(); it.set_first(p); history.push(p); }} after -> B_List, first, Nonempty_B_List {{ history.pop(); }} before -> Nonempty_B_List, it, B {{ Nonempty_B_List it = (Nonempty_B_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((B) p); history.push(p); }} after -> Nonempty_B_List, it, B {{ history.pop(); }} before -> Nonempty_B_List, next, Nonempty_B_List {{ Nonempty_B_List it = (Nonempty_B_List) history.peek(); Nonempty_B_List p = new Nonempty_B_List(); it.set_next(p); history.push(p); }} after -> Nonempty_B_List, next, Nonempty_B_List {{ history.pop(); }} }