// 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 -> Dir, name, Ident {{ Dir it = (Dir) history.peek(); it.set_name(dest); }} before -> Dir, content, LOFD {{ Dir it = (Dir) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_content((LOFD) p); history.push(p); }} after -> Dir, content, LOFD {{ history.pop(); }} before -> FileLOFD, f, File {{ FileLOFD it = (FileLOFD) history.peek(); File p = new File(); it.set_f(p); history.push(p); }} after -> FileLOFD, f, File {{ history.pop(); }} before -> FileLOFD, d, LOFD {{ FileLOFD it = (FileLOFD) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_d((LOFD) p); history.push(p); }} after -> FileLOFD, d, LOFD {{ history.pop(); }} before -> LOFDLOFD, d1, LOFD {{ LOFDLOFD it = (LOFDLOFD) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_d1((LOFD) p); history.push(p); }} after -> LOFDLOFD, d1, LOFD {{ history.pop(); }} before -> LOFDLOFD, d2, LOFD {{ LOFDLOFD it = (LOFDLOFD) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_d2((LOFD) p); history.push(p); }} after -> LOFDLOFD, d2, LOFD {{ history.pop(); }} before -> File, name, Ident {{ File it = (File) history.peek(); it.set_name(dest); }} before -> Main, s, String {{ Main it = (Main) history.peek(); it.set_s(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); }} }