// 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 -> MAX_CSP_Products, max_csp_list, MAX_CSP_List {{ MAX_CSP_Products it = (MAX_CSP_Products) history.peek(); MAX_CSP_List p = new MAX_CSP_List(); it.set_max_csp_list(p); history.push(p); }} after -> MAX_CSP_Products, max_csp_list, MAX_CSP_List {{ history.pop(); }} before -> MAX_CSP, transitionrules, TransitionRules {{ MAX_CSP it = (MAX_CSP) history.peek(); TransitionRules p = new TransitionRules(); it.set_transitionrules(p); history.push(p); }} after -> MAX_CSP, transitionrules, TransitionRules {{ history.pop(); }} before -> MAX_CSP, transitionmanager, TransitionManager {{ MAX_CSP it = (MAX_CSP) history.peek(); TransitionManager p = new TransitionManager(); it.set_transitionmanager(p); history.push(p); }} after -> MAX_CSP, transitionmanager, TransitionManager {{ history.pop(); }} before -> TransitionRules, decide, Decide {{ TransitionRules it = (TransitionRules) history.peek(); Decide p = new Decide(); it.set_decide(p); history.push(p); }} after -> TransitionRules, decide, Decide {{ history.pop(); }} before -> TransitionRules, up, UP {{ TransitionRules it = (TransitionRules) history.peek(); UP p = new UP(); it.set_up(p); history.push(p); }} after -> TransitionRules, up, UP {{ history.pop(); }} before -> TransitionRules, reduce, Reduce {{ TransitionRules it = (TransitionRules) history.peek(); Reduce p = new Reduce(); it.set_reduce(p); history.push(p); }} after -> TransitionRules, reduce, Reduce {{ history.pop(); }} before -> TransitionRules, ssr, SSR {{ TransitionRules it = (TransitionRules) history.peek(); SSR p = new SSR(); it.set_ssr(p); history.push(p); }} after -> TransitionRules, ssr, SSR {{ history.pop(); }} before -> TransitionRules, restart, Restart {{ TransitionRules it = (TransitionRules) history.peek(); Restart p = new Restart(); it.set_restart(p); history.push(p); }} after -> TransitionRules, restart, Restart {{ history.pop(); }} before -> TransitionRules, finale, Finale {{ TransitionRules it = (TransitionRules) history.peek(); Finale p = new Finale(); it.set_finale(p); history.push(p); }} after -> TransitionRules, finale, Finale {{ history.pop(); }} before -> TransitionRules, update, Update {{ TransitionRules it = (TransitionRules) history.peek(); Update p = new Update(); it.set_update(p); history.push(p); }} after -> TransitionRules, update, Update {{ history.pop(); }} before -> Decide, order, Order {{ Decide it = (Decide) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_order((Order) p); history.push(p); }} after -> Decide, order, Order {{ history.pop(); }} before -> ValueOrder, kind, VOKind {{ ValueOrder it = (ValueOrder) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_kind((VOKind) p); history.push(p); }} after -> ValueOrder, kind, VOKind {{ history.pop(); }} before -> VariableOrder, lookaheadpolynomial, LookAheadPolynomial {{ VariableOrder it = (VariableOrder) history.peek(); LookAheadPolynomial p = new LookAheadPolynomial(); it.set_lookaheadpolynomial(p); history.push(p); }} after -> VariableOrder, lookaheadpolynomial, LookAheadPolynomial {{ history.pop(); }} before -> UP, implicationgraph, ImplicationGraph {{ UP it = (UP) history.peek(); ImplicationGraph p = new ImplicationGraph(); it.set_implicationgraph(p); history.push(p); }} after -> UP, implicationgraph, ImplicationGraph {{ history.pop(); }} before -> SSR, implicationgraph, ImplicationGraph {{ SSR it = (SSR) history.peek(); ImplicationGraph p = new ImplicationGraph(); it.set_implicationgraph(p); history.push(p); }} after -> SSR, implicationgraph, ImplicationGraph {{ 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 -> MAX_CSP_List, first, Nonempty_MAX_CSP_List {{ MAX_CSP_List it = (MAX_CSP_List) history.peek(); Nonempty_MAX_CSP_List p = new Nonempty_MAX_CSP_List(); it.set_first(p); history.push(p); }} after -> MAX_CSP_List, first, Nonempty_MAX_CSP_List {{ history.pop(); }} before -> Nonempty_MAX_CSP_List, it, MAX_CSP {{ Nonempty_MAX_CSP_List it = (Nonempty_MAX_CSP_List) history.peek(); MAX_CSP p = new MAX_CSP(); it.set_it(p); history.push(p); }} after -> Nonempty_MAX_CSP_List, it, MAX_CSP {{ history.pop(); }} before -> Nonempty_MAX_CSP_List, next, Nonempty_MAX_CSP_List {{ Nonempty_MAX_CSP_List it = (Nonempty_MAX_CSP_List) history.peek(); Nonempty_MAX_CSP_List p = new Nonempty_MAX_CSP_List(); it.set_next(p); history.push(p); }} after -> Nonempty_MAX_CSP_List, next, Nonempty_MAX_CSP_List {{ history.pop(); }} }