// 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 -> Commands, mousecommandlist, MouseCommandList {{ Commands it = (Commands) history.peek(); MouseCommandList p = new MouseCommandList(); it.set_mousecommandlist(p); history.push(p); }} after -> Commands, mousecommandlist, MouseCommandList {{ history.pop(); }} before -> MouseCommandList, mousecommand_list, MouseCommand_List {{ MouseCommandList it = (MouseCommandList) history.peek(); MouseCommand_List p = new MouseCommand_List(); it.set_mousecommand_list(p); history.push(p); }} after -> MouseCommandList, mousecommand_list, MouseCommand_List {{ history.pop(); }} before -> TwoButtonCommand, twobuttonmousebutton, TwoButtonMouseButton {{ TwoButtonCommand it = (TwoButtonCommand) history.peek(); TwoButtonMouseButton p = new TwoButtonMouseButton(); it.set_twobuttonmousebutton(p); history.push(p); }} after -> TwoButtonCommand, twobuttonmousebutton, TwoButtonMouseButton {{ history.pop(); }} before -> TwoButtonCommand, basicoperation, BasicOperation {{ TwoButtonCommand it = (TwoButtonCommand) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_basicoperation((BasicOperation) p); history.push(p); }} after -> TwoButtonCommand, basicoperation, BasicOperation {{ history.pop(); }} before -> TwoButtonCommand, mousecoordinates, MouseCoordinates {{ TwoButtonCommand it = (TwoButtonCommand) history.peek(); MouseCoordinates p = new MouseCoordinates(); it.set_mousecoordinates(p); history.push(p); }} after -> TwoButtonCommand, mousecoordinates, MouseCoordinates {{ history.pop(); }} before -> ThreeButtonCommand, threebuttonmousebutton, ThreeButtonMouseButton {{ ThreeButtonCommand it = (ThreeButtonCommand) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_threebuttonmousebutton((ThreeButtonMouseButton) p); history.push(p); }} after -> ThreeButtonCommand, threebuttonmousebutton, ThreeButtonMouseButton {{ history.pop(); }} before -> ThreeButtonCommand, basicoperation, BasicOperation {{ ThreeButtonCommand it = (ThreeButtonCommand) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_basicoperation((BasicOperation) p); history.push(p); }} after -> ThreeButtonCommand, basicoperation, BasicOperation {{ history.pop(); }} before -> ThreeButtonCommand, mousecoordinates, MouseCoordinates {{ ThreeButtonCommand it = (ThreeButtonCommand) history.peek(); MouseCoordinates p = new MouseCoordinates(); it.set_mousecoordinates(p); history.push(p); }} after -> ThreeButtonCommand, mousecoordinates, MouseCoordinates {{ history.pop(); }} before -> WheelButtonCommand, wheelmousebutton, WheelMouseButton {{ WheelButtonCommand it = (WheelButtonCommand) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_wheelmousebutton((WheelMouseButton) p); history.push(p); }} after -> WheelButtonCommand, wheelmousebutton, WheelMouseButton {{ history.pop(); }} before -> WheelButtonCommand, advancedoperation, AdvancedOperation {{ WheelButtonCommand it = (WheelButtonCommand) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_advancedoperation((AdvancedOperation) p); history.push(p); }} after -> WheelButtonCommand, advancedoperation, AdvancedOperation {{ history.pop(); }} before -> WheelButtonCommand, mousecoordinates, MouseCoordinates {{ WheelButtonCommand it = (WheelButtonCommand) history.peek(); MouseCoordinates p = new MouseCoordinates(); it.set_mousecoordinates(p); history.push(p); }} after -> WheelButtonCommand, mousecoordinates, MouseCoordinates {{ history.pop(); }} before -> TwoButtonMouseButton, basicbuttons, BasicButtons {{ TwoButtonMouseButton it = (TwoButtonMouseButton) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_basicbuttons((BasicButtons) p); history.push(p); }} after -> TwoButtonMouseButton, basicbuttons, BasicButtons {{ history.pop(); }} before -> ThreeBBasicButtons, basicbuttons, BasicButtons {{ ThreeBBasicButtons it = (ThreeBBasicButtons) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_basicbuttons((BasicButtons) p); history.push(p); }} after -> ThreeBBasicButtons, basicbuttons, BasicButtons {{ history.pop(); }} before -> WBBasicButtons, basicbuttons, BasicButtons {{ WBBasicButtons it = (WBBasicButtons) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_basicbuttons((BasicButtons) p); history.push(p); }} after -> WBBasicButtons, basicbuttons, BasicButtons {{ history.pop(); }} before -> MouseCoordinates, mousecoordinate, MouseCoordinate {{ MouseCoordinates it = (MouseCoordinates) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_mousecoordinate((MouseCoordinate) p); history.push(p); }} after -> MouseCoordinates, mousecoordinate, MouseCoordinate {{ history.pop(); }} before -> PointCoordinate, x, int {{ PointCoordinate it = (PointCoordinate) history.peek(); it.set_x(dest); }} before -> PointCoordinate, y, int {{ PointCoordinate it = (PointCoordinate) history.peek(); it.set_y(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 -> MouseCommand_List, first, Nonempty_MouseCommand_List {{ MouseCommand_List it = (MouseCommand_List) history.peek(); Nonempty_MouseCommand_List p = new Nonempty_MouseCommand_List(); it.set_first(p); history.push(p); }} after -> MouseCommand_List, first, Nonempty_MouseCommand_List {{ history.pop(); }} before -> Nonempty_MouseCommand_List, it, MouseCommand {{ Nonempty_MouseCommand_List it = (Nonempty_MouseCommand_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((MouseCommand) p); history.push(p); }} after -> Nonempty_MouseCommand_List, it, MouseCommand {{ history.pop(); }} before -> Nonempty_MouseCommand_List, next, Nonempty_MouseCommand_List {{ Nonempty_MouseCommand_List it = (Nonempty_MouseCommand_List) history.peek(); Nonempty_MouseCommand_List p = new Nonempty_MouseCommand_List(); it.set_next(p); history.push(p); }} after -> Nonempty_MouseCommand_List, next, Nonempty_MouseCommand_List {{ history.pop(); }} }