// 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 -> CSP, constraint_list, Constraint_List {{ CSP it = (CSP) history.peek(); Constraint_List p = new Constraint_List(); it.set_constraint_list(p); history.push(p); }} after -> CSP, constraint_list, Constraint_List {{ history.pop(); }} before -> Constraint, relationNumber, int {{ Constraint it = (Constraint) history.peek(); it.set_relationNumber(dest); }} before -> Constraint, vars, Variable_List {{ Constraint it = (Constraint) history.peek(); Variable_List p = new Variable_List(); it.set_vars(p); history.push(p); }} after -> Constraint, vars, Variable_List {{ history.pop(); }} before -> Variable, v, int {{ Variable it = (Variable) 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); }} before -> Constraint_List, first, Nonempty_Constraint_List {{ Constraint_List it = (Constraint_List) history.peek(); Nonempty_Constraint_List p = new Nonempty_Constraint_List(); it.set_first(p); history.push(p); }} after -> Constraint_List, first, Nonempty_Constraint_List {{ history.pop(); }} before -> Variable_List, first, Nonempty_Variable_List {{ Variable_List it = (Variable_List) history.peek(); Nonempty_Variable_List p = new Nonempty_Variable_List(); it.set_first(p); history.push(p); }} after -> Variable_List, first, Nonempty_Variable_List {{ history.pop(); }} before -> Nonempty_Constraint_List, it, Constraint {{ Nonempty_Constraint_List it = (Nonempty_Constraint_List) history.peek(); Constraint p = new Constraint(); it.set_it(p); history.push(p); }} after -> Nonempty_Constraint_List, it, Constraint {{ history.pop(); }} before -> Nonempty_Constraint_List, next, Nonempty_Constraint_List {{ Nonempty_Constraint_List it = (Nonempty_Constraint_List) history.peek(); Nonempty_Constraint_List p = new Nonempty_Constraint_List(); it.set_next(p); history.push(p); }} after -> Nonempty_Constraint_List, next, Nonempty_Constraint_List {{ history.pop(); }} before -> Nonempty_Variable_List, it, Variable {{ Nonempty_Variable_List it = (Nonempty_Variable_List) history.peek(); Variable p = new Variable(); it.set_it(p); history.push(p); }} after -> Nonempty_Variable_List, it, Variable {{ history.pop(); }} before -> Nonempty_Variable_List, next, Nonempty_Variable_List {{ Nonempty_Variable_List it = (Nonempty_Variable_List) history.peek(); Nonempty_Variable_List p = new Nonempty_Variable_List(); it.set_next(p); history.push(p); }} after -> Nonempty_Variable_List, next, Nonempty_Variable_List {{ history.pop(); }} }