// 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 -> NodeInt, data, int {{ NodeInt it = (NodeInt) history.peek(); it.set_data(dest); }} before -> NodeInt, a, N1 {{ NodeInt it = (NodeInt) history.peek(); N1 p = new N1(); it.set_a(p); history.push(p); }} after -> NodeInt, a, N1 {{ history.pop(); }} before -> NodeInt, b, N2 {{ NodeInt it = (NodeInt) history.peek(); N2 p = new N2(); it.set_b(p); history.push(p); }} after -> NodeInt, b, N2 {{ history.pop(); }} before -> N1, t, BSTInt {{ N1 it = (N1) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_t((BSTInt) p); history.push(p); }} after -> N1, t, BSTInt {{ history.pop(); }} before -> N2, t, BSTInt {{ N2 it = (N2) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_t((BSTInt) p); history.push(p); }} after -> N2, t, BSTInt {{ 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); }} }