// This file is automatically generated by Demeter/Java. 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 -> S, service, Service (@ S it = (S) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_service((Service) p); history.push(p); @) after -> S, service, Service (@ history.pop(); @) before -> Basic_Service, address, Address (@ Basic_Service it = (Basic_Service) history.peek(); Address p = new Address(); it.set_address(p); history.push(p); @) after -> Basic_Service, address, Address (@ history.pop(); @) before -> Sequential_Execution, first, S (@ Sequential_Execution it = (Sequential_Execution) history.peek(); S p = new S(); it.set_first(p); history.push(p); @) after -> Sequential_Execution, first, S (@ history.pop(); @) before -> Sequential_Execution, second, S (@ Sequential_Execution it = (Sequential_Execution) history.peek(); S p = new S(); it.set_second(p); history.push(p); @) after -> Sequential_Execution, second, S (@ history.pop(); @) before -> Address, string, String (@ Address it = (Address) history.peek(); it.set_string(dest); @) before -> Repeatition, repeat, S (@ Repeatition it = (Repeatition) history.peek(); S p = new S(); it.set_repeat(p); history.push(p); @) after -> Repeatition, repeat, S (@ history.pop(); @) before -> Time_Limit, time, Time (@ Time_Limit it = (Time_Limit) history.peek(); Time p = new Time(); it.set_time(p); history.push(p); @) after -> Time_Limit, time, Time (@ history.pop(); @) before -> Time_Limit, on, Block (@ Time_Limit it = (Time_Limit) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_on((Block) p); history.push(p); @) after -> Time_Limit, on, Block (@ history.pop(); @) before -> Time, l, long (@ Time it = (Time) history.peek(); it.set_l(dest); @) before -> Concurrent_Execution, main, S (@ Concurrent_Execution it = (Concurrent_Execution) history.peek(); S p = new S(); it.set_main(p); history.push(p); @) after -> Concurrent_Execution, main, S (@ history.pop(); @) before -> Concurrent_Execution, thread, S (@ Concurrent_Execution it = (Concurrent_Execution) history.peek(); S p = new S(); it.set_thread(p); history.push(p); @) after -> Concurrent_Execution, thread, S (@ history.pop(); @) before -> Visitor, rv, RepeatCheckingVisitor (@ Visitor it = (Visitor) history.peek(); RepeatCheckingVisitor p = new RepeatCheckingVisitor(); it.set_rv(p); history.push(p); @) after -> Visitor, rv, RepeatCheckingVisitor (@ history.pop(); @) before -> Visitor, lv, LimitCheckingVisitor (@ Visitor it = (Visitor) history.peek(); LimitCheckingVisitor p = new LimitCheckingVisitor(); it.set_lv(p); history.push(p); @) after -> Visitor, lv, LimitCheckingVisitor (@ history.pop(); @) before -> Visitor, date, long (@ Visitor it = (Visitor) history.peek(); it.set_date(dest); @) before -> Visitor, page, StringBuffer (@ Visitor it = (Visitor) history.peek(); it.set_page(dest); @) before -> Visitor, urlConn, URL (@ Visitor it = (Visitor) history.peek(); it.set_urlConn(dest); @) before -> Visitor, stream, InputStream (@ Visitor it = (Visitor) history.peek(); it.set_stream(dest); @) before -> Visitor, next, int (@ Visitor it = (Visitor) history.peek(); it.set_next(dest); @) before -> Visitor, active, boolean (@ Visitor it = (Visitor) history.peek(); it.set_active(dest); @) before -> Visitor, s, Thread (@ Visitor it = (Visitor) history.peek(); it.set_s(dest); @) before -> Visitor, concurrent, boolean (@ Visitor it = (Visitor) history.peek(); it.set_concurrent(dest); @) before -> Visitor, sequentialStack, Stack (@ Visitor it = (Visitor) history.peek(); it.set_sequentialStack(dest); @) before -> Visitor, concurrentStack, Stack (@ Visitor it = (Visitor) history.peek(); it.set_concurrentStack(dest); @) before -> RepeatCheckingVisitor, date, long (@ RepeatCheckingVisitor it = (RepeatCheckingVisitor) history.peek(); it.set_date(dest); @) before -> RepeatCheckingVisitor, lv, LimitCheckingVisitor (@ RepeatCheckingVisitor it = (RepeatCheckingVisitor) history.peek(); LimitCheckingVisitor p = new LimitCheckingVisitor(); it.set_lv(p); history.push(p); @) after -> RepeatCheckingVisitor, lv, LimitCheckingVisitor (@ history.pop(); @) before -> RepeatCheckingVisitor, v, Visitor (@ RepeatCheckingVisitor it = (RepeatCheckingVisitor) history.peek(); Visitor p = new Visitor(); it.set_v(p); history.push(p); @) after -> RepeatCheckingVisitor, v, Visitor (@ history.pop(); @) before -> LimitCheckingVisitor, limitFlag, boolean (@ LimitCheckingVisitor it = (LimitCheckingVisitor) history.peek(); it.set_limitFlag(dest); @) before -> LimitCheckingVisitor, limit, long (@ LimitCheckingVisitor it = (LimitCheckingVisitor) history.peek(); it.set_limit(dest); @) before -> LimitCheckingVisitor, date, Long (@ LimitCheckingVisitor it = (LimitCheckingVisitor) history.peek(); it.set_date(dest); @) before -> LimitCheckingVisitor, limitStack, Stack (@ LimitCheckingVisitor it = (LimitCheckingVisitor) history.peek(); it.set_limitStack(dest); @) before -> LimitCheckingVisitor, v, Visitor (@ LimitCheckingVisitor it = (LimitCheckingVisitor) history.peek(); Visitor p = new Visitor(); it.set_v(p); history.push(p); @) after -> LimitCheckingVisitor, v, Visitor (@ history.pop(); @) before -> TimeCheckingVisitor, flag, int (@ TimeCheckingVisitor it = (TimeCheckingVisitor) history.peek(); it.set_flag(dest); @) before -> TimeCheckingVisitor, time, long (@ TimeCheckingVisitor it = (TimeCheckingVisitor) history.peek(); it.set_time(dest); @) before -> TimeCheckingVisitor, pretime, long (@ TimeCheckingVisitor it = (TimeCheckingVisitor) history.peek(); it.set_pretime(dest); @) before -> TimeCheckingVisitor, condition, boolean (@ TimeCheckingVisitor it = (TimeCheckingVisitor) history.peek(); it.set_condition(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); @) }