// This file is automatically generated by DemeterJ. EqualVisitor { {{ private java.util.Stack history = new java.util.Stack(); public EqualVisitor(Object obj) { history.push(obj); } }} before -> ShoeOrder, width, Width {{ if (is_equal) { ShoeOrder obj = (ShoeOrder) history.peek(); Object temp9 = obj.get_width(); if(temp9==null) { is_equal = false; return; } history.push(temp9); } }} after -> ShoeOrder, width, Width {{ if (is_equal) history.pop(); }} before -> ShoeOrder, stores, Store_List {{ if (is_equal) { ShoeOrder obj = (ShoeOrder) history.peek(); Object temp10 = obj.get_stores(); if(temp10==null) { is_equal = false; return; } history.push(temp10); } }} after -> ShoeOrder, stores, Store_List {{ if (is_equal) history.pop(); }} before ShoeOrder {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp1 = host.get_id(); Object temp2 = ((ShoeOrder) obj).get_id(); if(temp1 == null && temp2 == null) {} else if(temp1 == null || temp2 == null || !temp1.equals(temp2)) { is_equal = false; return; } Object temp3 = host.get_style(); Object temp4 = ((ShoeOrder) obj).get_style(); if(temp3 == null && temp4 == null) {} else if(temp3 == null || temp4 == null || !temp3.equals(temp4)) { is_equal = false; return; } Object temp5 = host.get_color(); Object temp6 = ((ShoeOrder) obj).get_color(); if(temp5 == null && temp6 == null) {} else if(temp5 == null || temp6 == null || !temp5.equals(temp6)) { is_equal = false; return; } Object temp7 = host.get_size(); Object temp8 = ((ShoeOrder) obj).get_size(); if(temp7 == null && temp8 == null) {} else if(temp7 == null || temp8 == null || !temp7.equals(temp8)) { is_equal = false; return; } }} before -> Width, w, W {{ if (is_equal) { Width obj = (Width) history.peek(); Object temp11 = obj.get_w(); if(temp11==null) { is_equal = false; return; } history.push(temp11); } }} after -> Width, w, W {{ if (is_equal) history.pop(); }} before Width {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before W {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before AA {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before EE {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Store, howManySuchShoes, Quantity {{ if (is_equal) { Store obj = (Store) history.peek(); Object temp14 = obj.get_howManySuchShoes(); if(temp14==null) { is_equal = false; return; } history.push(temp14); } }} after -> Store, howManySuchShoes, Quantity {{ if (is_equal) history.pop(); }} before Store {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp12 = host.get_name(); Object temp13 = ((Store) obj).get_name(); if(temp12 == null && temp13 == null) {} else if(temp12 == null || temp13 == null || !temp12.equals(temp13)) { is_equal = false; return; } }} before Quantity {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp15 = host.get_number(); Object temp16 = ((Quantity) obj).get_number(); if(temp15 == null && temp16 == null) {} else if(temp15 == null || temp16 == null || !temp15.equals(temp16)) { is_equal = false; return; } }} before Main {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before SummingVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_total() == ((SummingVisitor) obj).get_total(); }} before PrintVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_indent() == ((PrintVisitor) obj).get_indent(); is_equal = is_equal && host.get_needSpace() == ((PrintVisitor) obj).get_needSpace(); }} before CopyVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp17 = host.get_copy(); Object temp18 = ((CopyVisitor) obj).get_copy(); if(temp17 == null && temp18 == null) {} else if(temp17 == null || temp18 == null || !temp17.equals(temp18)) { is_equal = false; return; } }} before SubgraphVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_is_equal() == ((SubgraphVisitor) obj).get_is_equal(); }} before EqualVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_is_equal() == ((EqualVisitor) obj).get_is_equal(); }} before DisplayVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_indent() == ((DisplayVisitor) obj).get_indent(); }} before TraceVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_indent() == ((TraceVisitor) obj).get_indent(); }} before UniversalVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Store_List, first, Nonempty_Store_List {{ if (is_equal) { Store_List obj = (Store_List) history.peek(); Object temp19 = obj.get_first(); if(temp19==null) { is_equal = false; return; } history.push(temp19); } }} after -> Store_List, first, Nonempty_Store_List {{ if (is_equal) history.pop(); }} before Store_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_Store_List, it, Store {{ if (is_equal) { Nonempty_Store_List obj = (Nonempty_Store_List) history.peek(); Object temp20 = obj.get_it(); if(temp20==null) { is_equal = false; return; } history.push(temp20); } }} after -> Nonempty_Store_List, it, Store {{ if (is_equal) history.pop(); }} before -> Nonempty_Store_List, next, Nonempty_Store_List {{ if (is_equal) { Nonempty_Store_List obj = (Nonempty_Store_List) history.peek(); Object temp21 = obj.get_next(); if(temp21==null) { is_equal = false; return; } history.push(temp21); } }} after -> Nonempty_Store_List, next, Nonempty_Store_List {{ if (is_equal) history.pop(); }} before Nonempty_Store_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} return boolean {{ is_equal }} }