// 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 -> WebScript, service_list, Service_List (@ WebScript it = (WebScript) history.peek(); Service_List p = new Service_List(); it.set_service_list(p); history.push(p); @) after -> WebScript, service_list, Service_List (@ history.pop(); @) before -> Url, url, String (@ Url it = (Url) history.peek(); it.set_url(dest); @) before -> TimeOut, timeout, Real (@ TimeOut it = (TimeOut) history.peek(); Real p = new Real(); it.set_timeout(p); history.push(p); @) after -> TimeOut, timeout, Real (@ history.pop(); @) before -> TimeOut, service, Service (@ TimeOut it = (TimeOut) 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 -> TimeOut, service, Service (@ history.pop(); @) before -> Limit, start_time, Real (@ Limit it = (Limit) history.peek(); Real p = new Real(); it.set_start_time(p); history.push(p); @) after -> Limit, start_time, Real (@ history.pop(); @) before -> Limit, rate, Real (@ Limit it = (Limit) history.peek(); Real p = new Real(); it.set_rate(p); history.push(p); @) after -> Limit, rate, Real (@ history.pop(); @) before -> Limit, service, Service (@ Limit it = (Limit) 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 -> Limit, service, Service (@ history.pop(); @) before -> Repeat, service, Service (@ Repeat it = (Repeat) 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 -> Repeat, service, Service (@ history.pop(); @) before -> Execution, service1, Service (@ Execution it = (Execution) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_service1((Service) p); history.push(p); @) after -> Execution, service1, Service (@ history.pop(); @) before -> Execution, op, ExecutionOp (@ Execution it = (Execution) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_op((ExecutionOp) p); history.push(p); @) after -> Execution, op, ExecutionOp (@ history.pop(); @) before -> Execution, service2, Service (@ Execution it = (Execution) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_service2((Service) p); history.push(p); @) after -> Execution, service2, Service (@ history.pop(); @) before -> Post, cgi, String (@ Post it = (Post) history.peek(); it.set_cgi(dest); @) before -> Post, data, Condition_List (@ Post it = (Post) history.peek(); Condition_List p = new Condition_List(); it.set_data(p); history.push(p); @) after -> Post, data, Condition_List (@ history.pop(); @) before -> Get, cgi, String (@ Get it = (Get) history.peek(); it.set_cgi(dest); @) before -> Get, data, Condition_List (@ Get it = (Get) history.peek(); Condition_List p = new Condition_List(); it.set_data(p); history.push(p); @) after -> Get, data, Condition_List (@ history.pop(); @) before -> Condition, id, Ident (@ Condition it = (Condition) history.peek(); it.set_id(dest); @) before -> Condition, content, String (@ Condition it = (Condition) history.peek(); it.set_content(dest); @) before -> Real, value, float (@ Real it = (Real) history.peek(); it.set_value(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 -> Service_List, first, Nonempty_Service_List (@ Service_List it = (Service_List) history.peek(); Nonempty_Service_List p = new Nonempty_Service_List(); it.set_first(p); history.push(p); @) after -> Service_List, first, Nonempty_Service_List (@ history.pop(); @) before -> Condition_List, first, Nonempty_Condition_List (@ Condition_List it = (Condition_List) history.peek(); Nonempty_Condition_List p = new Nonempty_Condition_List(); it.set_first(p); history.push(p); @) after -> Condition_List, first, Nonempty_Condition_List (@ history.pop(); @) before -> Nonempty_Service_List, it, Service (@ Nonempty_Service_List it = (Nonempty_Service_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((Service) p); history.push(p); @) after -> Nonempty_Service_List, it, Service (@ history.pop(); @) before -> Nonempty_Service_List, next, Nonempty_Service_List (@ Nonempty_Service_List it = (Nonempty_Service_List) history.peek(); Nonempty_Service_List p = new Nonempty_Service_List(); it.set_next(p); history.push(p); @) after -> Nonempty_Service_List, next, Nonempty_Service_List (@ history.pop(); @) before -> Nonempty_Condition_List, it, Condition (@ Nonempty_Condition_List it = (Nonempty_Condition_List) history.peek(); Condition p = new Condition(); it.set_it(p); history.push(p); @) after -> Nonempty_Condition_List, it, Condition (@ history.pop(); @) before -> Nonempty_Condition_List, next, Nonempty_Condition_List (@ Nonempty_Condition_List it = (Nonempty_Condition_List) history.peek(); Nonempty_Condition_List p = new Nonempty_Condition_List(); it.set_next(p); history.push(p); @) after -> Nonempty_Condition_List, next, Nonempty_Condition_List (@ history.pop(); @) }