// 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 -> Histories, newstrategy_plist, NewStrategy_PList {{ Histories it = (Histories) history.peek(); NewStrategy_PList p = new NewStrategy_PList(); it.set_newstrategy_plist(p); history.push(p); }} after -> Histories, newstrategy_plist, NewStrategy_PList {{ history.pop(); }} before -> Histories, historypcd_plist, HistoryPcd_PList {{ Histories it = (Histories) history.peek(); HistoryPcd_PList p = new HistoryPcd_PList(); it.set_historypcd_plist(p); history.push(p); }} after -> Histories, historypcd_plist, HistoryPcd_PList {{ history.pop(); }} before -> HistoryPcd, newstrategy, NewStrategy {{ HistoryPcd it = (HistoryPcd) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_newstrategy((NewStrategy) p); history.push(p); }} after -> HistoryPcd, newstrategy, NewStrategy {{ history.pop(); }} before -> Entry, pointcut, Pointcut {{ Entry it = (Entry) history.peek(); Pointcut p = new Pointcut(); it.set_pointcut(p); history.push(p); }} after -> Entry, pointcut, Pointcut {{ history.pop(); }} before -> Exit, pointcut, Pointcut {{ Exit it = (Exit) history.peek(); Pointcut p = new Pointcut(); it.set_pointcut(p); history.push(p); }} after -> Exit, pointcut, Pointcut {{ history.pop(); }} before -> Pointcut, pointcutname, PointcutName {{ Pointcut it = (Pointcut) history.peek(); PointcutName p = new PointcutName(); it.set_pointcutname(p); history.push(p); }} after -> Pointcut, pointcutname, PointcutName {{ history.pop(); }} before -> AbstractNewStrategy, modifiers, Modifiers {{ AbstractNewStrategy it = (AbstractNewStrategy) history.peek(); Modifiers p = new Modifiers(); it.set_modifiers(p); history.push(p); }} after -> AbstractNewStrategy, modifiers, Modifiers {{ history.pop(); }} before -> AbstractNewStrategy, newstrategyname, NewStrategyName {{ AbstractNewStrategy it = (AbstractNewStrategy) history.peek(); NewStrategyName p = new NewStrategyName(); it.set_newstrategyname(p); history.push(p); }} after -> AbstractNewStrategy, newstrategyname, NewStrategyName {{ history.pop(); }} before -> AbstractNewStrategy, formals, Formals {{ AbstractNewStrategy it = (AbstractNewStrategy) history.peek(); Formals p = new Formals(); it.set_formals(p); history.push(p); }} after -> AbstractNewStrategy, formals, Formals {{ history.pop(); }} before -> ConcreteNewStrategy, modifiers, Modifiers {{ ConcreteNewStrategy it = (ConcreteNewStrategy) history.peek(); Modifiers p = new Modifiers(); it.set_modifiers(p); history.push(p); }} after -> ConcreteNewStrategy, modifiers, Modifiers {{ history.pop(); }} before -> ConcreteNewStrategy, newstrategyname, NewStrategyName {{ ConcreteNewStrategy it = (ConcreteNewStrategy) history.peek(); NewStrategyName p = new NewStrategyName(); it.set_newstrategyname(p); history.push(p); }} after -> ConcreteNewStrategy, newstrategyname, NewStrategyName {{ history.pop(); }} before -> ConcreteNewStrategy, formals, Formals {{ ConcreteNewStrategy it = (ConcreteNewStrategy) history.peek(); Formals p = new Formals(); it.set_formals(p); history.push(p); }} after -> ConcreteNewStrategy, formals, Formals {{ history.pop(); }} before -> ConcreteNewStrategy, orderednewstrategy_barlist, OrderedNewStrategy_BarList {{ ConcreteNewStrategy it = (ConcreteNewStrategy) history.peek(); OrderedNewStrategy_BarList p = new OrderedNewStrategy_BarList(); it.set_orderednewstrategy_barlist(p); history.push(p); }} after -> ConcreteNewStrategy, orderednewstrategy_barlist, OrderedNewStrategy_BarList {{ history.pop(); }} before -> NamedNewStrategyRef, newstrategyname, NewStrategyName {{ NamedNewStrategyRef it = (NamedNewStrategyRef) history.peek(); NewStrategyName p = new NewStrategyName(); it.set_newstrategyname(p); history.push(p); }} after -> NamedNewStrategyRef, newstrategyname, NewStrategyName {{ history.pop(); }} before -> NamedNewStrategyRef, actuals, Actuals {{ NamedNewStrategyRef it = (NamedNewStrategyRef) history.peek(); Actuals p = new Actuals(); it.set_actuals(p); history.push(p); }} after -> NamedNewStrategyRef, actuals, Actuals {{ history.pop(); }} before -> OrderedNewStrategy, newstrategy_plist, NewStrategy_PList {{ OrderedNewStrategy it = (OrderedNewStrategy) history.peek(); NewStrategy_PList p = new NewStrategy_PList(); it.set_newstrategy_plist(p); history.push(p); }} after -> OrderedNewStrategy, newstrategy_plist, NewStrategy_PList {{ history.pop(); }} before -> OrderedWithBypassingNewStrategy, first, NewStrategy {{ OrderedWithBypassingNewStrategy it = (OrderedWithBypassingNewStrategy) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_first((NewStrategy) p); history.push(p); }} after -> OrderedWithBypassingNewStrategy, first, NewStrategy {{ history.pop(); }} before -> OrderedWithBypassingNewStrategy, bypassingnewstrategy_list, BypassingNewStrategy_List {{ OrderedWithBypassingNewStrategy it = (OrderedWithBypassingNewStrategy) history.peek(); BypassingNewStrategy_List p = new BypassingNewStrategy_List(); it.set_bypassingnewstrategy_list(p); history.push(p); }} after -> OrderedWithBypassingNewStrategy, bypassingnewstrategy_list, BypassingNewStrategy_List {{ history.pop(); }} before -> BypassingNewStrategy, primitivenewstrategy, PrimitiveNewStrategy {{ BypassingNewStrategy it = (BypassingNewStrategy) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_primitivenewstrategy((PrimitiveNewStrategy) p); history.push(p); }} after -> BypassingNewStrategy, primitivenewstrategy, PrimitiveNewStrategy {{ history.pop(); }} before -> BypassingNewStrategy, newstrategy, NewStrategy {{ BypassingNewStrategy it = (BypassingNewStrategy) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_newstrategy((NewStrategy) p); history.push(p); }} after -> BypassingNewStrategy, newstrategy, NewStrategy {{ history.pop(); }} before -> OptionalNewStrategy, newstrategy, NewStrategy {{ OptionalNewStrategy it = (OptionalNewStrategy) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_newstrategy((NewStrategy) p); history.push(p); }} after -> OptionalNewStrategy, newstrategy, NewStrategy {{ history.pop(); }} before -> ZeroOrMoreNewStrategy, newstrategy, NewStrategy {{ ZeroOrMoreNewStrategy it = (ZeroOrMoreNewStrategy) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_newstrategy((NewStrategy) p); history.push(p); }} after -> ZeroOrMoreNewStrategy, newstrategy, NewStrategy {{ history.pop(); }} before -> NewStrategyName, ident, Ident {{ NewStrategyName it = (NewStrategyName) history.peek(); it.set_ident(dest); }} before -> PointcutName, ident, Ident {{ PointcutName it = (PointcutName) history.peek(); it.set_ident(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 -> NewStrategy_PList, first, Nonempty_NewStrategy_PList {{ NewStrategy_PList it = (NewStrategy_PList) history.peek(); Nonempty_NewStrategy_PList p = new Nonempty_NewStrategy_PList(); it.set_first(p); history.push(p); }} after -> NewStrategy_PList, first, Nonempty_NewStrategy_PList {{ history.pop(); }} before -> HistoryPcd_PList, first, Nonempty_HistoryPcd_PList {{ HistoryPcd_PList it = (HistoryPcd_PList) history.peek(); Nonempty_HistoryPcd_PList p = new Nonempty_HistoryPcd_PList(); it.set_first(p); history.push(p); }} after -> HistoryPcd_PList, first, Nonempty_HistoryPcd_PList {{ history.pop(); }} before -> OrderedNewStrategy_BarList, first, Nonempty_OrderedNewStrategy_BarList {{ OrderedNewStrategy_BarList it = (OrderedNewStrategy_BarList) history.peek(); Nonempty_OrderedNewStrategy_BarList p = new Nonempty_OrderedNewStrategy_BarList(); it.set_first(p); history.push(p); }} after -> OrderedNewStrategy_BarList, first, Nonempty_OrderedNewStrategy_BarList {{ history.pop(); }} before -> BypassingNewStrategy_List, first, Nonempty_BypassingNewStrategy_List {{ BypassingNewStrategy_List it = (BypassingNewStrategy_List) history.peek(); Nonempty_BypassingNewStrategy_List p = new Nonempty_BypassingNewStrategy_List(); it.set_first(p); history.push(p); }} after -> BypassingNewStrategy_List, first, Nonempty_BypassingNewStrategy_List {{ history.pop(); }} before -> Nonempty_NewStrategy_PList, it, NewStrategy {{ Nonempty_NewStrategy_PList it = (Nonempty_NewStrategy_PList) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((NewStrategy) p); history.push(p); }} after -> Nonempty_NewStrategy_PList, it, NewStrategy {{ history.pop(); }} before -> Nonempty_NewStrategy_PList, next, Nonempty_NewStrategy_PList {{ Nonempty_NewStrategy_PList it = (Nonempty_NewStrategy_PList) history.peek(); Nonempty_NewStrategy_PList p = new Nonempty_NewStrategy_PList(); it.set_next(p); history.push(p); }} after -> Nonempty_NewStrategy_PList, next, Nonempty_NewStrategy_PList {{ history.pop(); }} before -> Nonempty_HistoryPcd_PList, it, HistoryPcd {{ Nonempty_HistoryPcd_PList it = (Nonempty_HistoryPcd_PList) history.peek(); HistoryPcd p = new HistoryPcd(); it.set_it(p); history.push(p); }} after -> Nonempty_HistoryPcd_PList, it, HistoryPcd {{ history.pop(); }} before -> Nonempty_HistoryPcd_PList, next, Nonempty_HistoryPcd_PList {{ Nonempty_HistoryPcd_PList it = (Nonempty_HistoryPcd_PList) history.peek(); Nonempty_HistoryPcd_PList p = new Nonempty_HistoryPcd_PList(); it.set_next(p); history.push(p); }} after -> Nonempty_HistoryPcd_PList, next, Nonempty_HistoryPcd_PList {{ history.pop(); }} before -> Nonempty_OrderedNewStrategy_BarList, it, OrderedNewStrategy {{ Nonempty_OrderedNewStrategy_BarList it = (Nonempty_OrderedNewStrategy_BarList) history.peek(); OrderedNewStrategy p = new OrderedNewStrategy(); it.set_it(p); history.push(p); }} after -> Nonempty_OrderedNewStrategy_BarList, it, OrderedNewStrategy {{ history.pop(); }} before -> Nonempty_OrderedNewStrategy_BarList, next, Nonempty_OrderedNewStrategy_BarList {{ Nonempty_OrderedNewStrategy_BarList it = (Nonempty_OrderedNewStrategy_BarList) history.peek(); Nonempty_OrderedNewStrategy_BarList p = new Nonempty_OrderedNewStrategy_BarList(); it.set_next(p); history.push(p); }} after -> Nonempty_OrderedNewStrategy_BarList, next, Nonempty_OrderedNewStrategy_BarList {{ history.pop(); }} before -> Nonempty_BypassingNewStrategy_List, it, BypassingNewStrategy {{ Nonempty_BypassingNewStrategy_List it = (Nonempty_BypassingNewStrategy_List) history.peek(); BypassingNewStrategy p = new BypassingNewStrategy(); it.set_it(p); history.push(p); }} after -> Nonempty_BypassingNewStrategy_List, it, BypassingNewStrategy {{ history.pop(); }} before -> Nonempty_BypassingNewStrategy_List, next, Nonempty_BypassingNewStrategy_List {{ Nonempty_BypassingNewStrategy_List it = (Nonempty_BypassingNewStrategy_List) history.peek(); Nonempty_BypassingNewStrategy_List p = new Nonempty_BypassingNewStrategy_List(); it.set_next(p); history.push(p); }} after -> Nonempty_BypassingNewStrategy_List, next, Nonempty_BypassingNewStrategy_List {{ history.pop(); }} }