// 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 -> Program, e_list, E_List {{ Program it = (Program) history.peek(); E_List p = new E_List(); it.set_e_list(p); history.push(p); }} after -> Program, e_list, E_List {{ history.pop(); }} before -> NL, v, Integer {{ NL it = (NL) history.peek(); it.set_v(dest); }} before -> TVar, var, Var {{ TVar it = (TVar) history.peek(); Var p = new Var(); it.set_var(p); history.push(p); }} after -> TVar, var, Var {{ history.pop(); }} before -> TVar, vart, VarT {{ TVar it = (TVar) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_vart((VarT) p); history.push(p); }} after -> TVar, vart, VarT {{ history.pop(); }} before -> Var, v, Ident {{ Var it = (Var) history.peek(); it.set_v(dest); }} before -> C, arg1, E {{ C it = (C) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_arg1((E) p); history.push(p); }} after -> C, arg1, E {{ history.pop(); }} before -> C, arg2, E {{ C it = (C) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_arg2((E) p); history.push(p); }} after -> C, arg2, E {{ 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 -> E_List, first, Nonempty_E_List {{ E_List it = (E_List) history.peek(); Nonempty_E_List p = new Nonempty_E_List(); it.set_first(p); history.push(p); }} after -> E_List, first, Nonempty_E_List {{ history.pop(); }} before -> Nonempty_E_List, it, E {{ Nonempty_E_List it = (Nonempty_E_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((E) p); history.push(p); }} after -> Nonempty_E_List, it, E {{ history.pop(); }} before -> Nonempty_E_List, next, Nonempty_E_List {{ Nonempty_E_List it = (Nonempty_E_List) history.peek(); Nonempty_E_List p = new Nonempty_E_List(); it.set_next(p); history.push(p); }} after -> Nonempty_E_List, next, Nonempty_E_List {{ history.pop(); }} }