// 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 Main {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp1 = host.get_s(); Object temp2 = ((Main) obj).get_s(); if(temp1 == null && temp2 == null) {} else if(temp1 == null || temp2 == null || !temp1.equals(temp2)) { is_equal = false; return; } }} before -> ChineseWallPolicyChecker, chinesewallautomaton_list, ChineseWallAutomaton_List {{ if (is_equal) { ChineseWallPolicyChecker obj = (ChineseWallPolicyChecker) history.peek(); Object temp3 = obj.get_chinesewallautomaton_list(); if(temp3==null) { is_equal = false; return; } history.push(temp3); } }} after -> ChineseWallPolicyChecker, chinesewallautomaton_list, ChineseWallAutomaton_List {{ if (is_equal) history.pop(); }} before ChineseWallPolicyChecker {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> ChineseWallAutomaton, automatonname, AutomatonName {{ if (is_equal) { ChineseWallAutomaton obj = (ChineseWallAutomaton) history.peek(); Object temp4 = obj.get_automatonname(); if(temp4==null) { is_equal = false; return; } history.push(temp4); } }} after -> ChineseWallAutomaton, automatonname, AutomatonName {{ if (is_equal) history.pop(); }} before -> ChineseWallAutomaton, currentState, State {{ if (is_equal) { ChineseWallAutomaton obj = (ChineseWallAutomaton) history.peek(); Object temp5 = obj.get_currentState(); if(temp5==null) { is_equal = false; return; } history.push(temp5); } }} after -> ChineseWallAutomaton, currentState, State {{ if (is_equal) history.pop(); }} before -> ChineseWallAutomaton, startState, State {{ if (is_equal) { ChineseWallAutomaton obj = (ChineseWallAutomaton) history.peek(); Object temp6 = obj.get_startState(); if(temp6==null) { is_equal = false; return; } history.push(temp6); } }} after -> ChineseWallAutomaton, startState, State {{ if (is_equal) history.pop(); }} before -> ChineseWallAutomaton, transition, Transition_List {{ if (is_equal) { ChineseWallAutomaton obj = (ChineseWallAutomaton) history.peek(); Object temp7 = obj.get_transition(); if(temp7==null) { is_equal = false; return; } history.push(temp7); } }} after -> ChineseWallAutomaton, transition, Transition_List {{ if (is_equal) history.pop(); }} before -> ChineseWallAutomaton, groups, Group_List {{ if (is_equal) { ChineseWallAutomaton obj = (ChineseWallAutomaton) history.peek(); Object temp8 = obj.get_groups(); if(temp8==null) { is_equal = false; return; } history.push(temp8); } }} after -> ChineseWallAutomaton, groups, Group_List {{ if (is_equal) history.pop(); }} before -> ChineseWallAutomaton, citypes, CIType_List {{ if (is_equal) { ChineseWallAutomaton obj = (ChineseWallAutomaton) history.peek(); Object temp9 = obj.get_citypes(); if(temp9==null) { is_equal = false; return; } history.push(temp9); } }} after -> ChineseWallAutomaton, citypes, CIType_List {{ if (is_equal) history.pop(); }} before -> ChineseWallAutomaton, history, Access_List {{ if (is_equal) { ChineseWallAutomaton obj = (ChineseWallAutomaton) history.peek(); Object temp10 = obj.get_history(); if(temp10==null) { is_equal = false; return; } history.push(temp10); } }} after -> ChineseWallAutomaton, history, Access_List {{ if (is_equal) history.pop(); }} before ChineseWallAutomaton {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> State, accesses, Group_List {{ if (is_equal) { State obj = (State) history.peek(); Object temp11 = obj.get_accesses(); if(temp11==null) { is_equal = false; return; } history.push(temp11); } }} after -> State, accesses, Group_List {{ if (is_equal) history.pop(); }} before State {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Access, objektid, ObjektId {{ if (is_equal) { Access obj = (Access) history.peek(); Object temp12 = obj.get_objektid(); if(temp12==null) { is_equal = false; return; } history.push(temp12); } }} after -> Access, objektid, ObjektId {{ if (is_equal) history.pop(); }} before -> Access, group, Group {{ if (is_equal) { Access obj = (Access) history.peek(); Object temp13 = obj.get_group(); if(temp13==null) { is_equal = false; return; } history.push(temp13); } }} after -> Access, group, Group {{ if (is_equal) history.pop(); }} before Access {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Group, groupname, GroupName {{ if (is_equal) { Group obj = (Group) history.peek(); Object temp14 = obj.get_groupname(); if(temp14==null) { is_equal = false; return; } history.push(temp14); } }} after -> Group, groupname, GroupName {{ if (is_equal) history.pop(); }} before -> Group, citype, CIType {{ if (is_equal) { Group obj = (Group) history.peek(); Object temp15 = obj.get_citype(); if(temp15==null) { is_equal = false; return; } history.push(temp15); } }} after -> Group, citype, CIType {{ if (is_equal) history.pop(); }} before Group {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> CIType, citypename, CITypeName {{ if (is_equal) { CIType obj = (CIType) history.peek(); Object temp16 = obj.get_citypename(); if(temp16==null) { is_equal = false; return; } history.push(temp16); } }} after -> CIType, citypename, CITypeName {{ if (is_equal) history.pop(); }} before CIType {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Transition, newAccess, Access {{ if (is_equal) { Transition obj = (Transition) history.peek(); Object temp17 = obj.get_newAccess(); if(temp17==null) { is_equal = false; return; } history.push(temp17); } }} after -> Transition, newAccess, Access {{ if (is_equal) history.pop(); }} before Transition {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before ObjektId {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp18 = host.get_ident(); Object temp19 = ((ObjektId) obj).get_ident(); if(temp18 == null && temp19 == null) {} else if(temp18 == null || temp19 == null || !temp18.equals(temp19)) { is_equal = false; return; } }} before GroupName {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp20 = host.get_ident(); Object temp21 = ((GroupName) obj).get_ident(); if(temp20 == null && temp21 == null) {} else if(temp20 == null || temp21 == null || !temp20.equals(temp21)) { is_equal = false; return; } }} before CITypeName {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp22 = host.get_ident(); Object temp23 = ((CITypeName) obj).get_ident(); if(temp22 == null && temp23 == null) {} else if(temp22 == null || temp23 == null || !temp22.equals(temp23)) { is_equal = false; return; } }} before AutomatonName {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp24 = host.get_ident(); Object temp25 = ((AutomatonName) obj).get_ident(); if(temp24 == null && temp25 == null) {} else if(temp24 == null || temp25 == null || !temp24.equals(temp25)) { is_equal = false; return; } }} 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 temp26 = host.get_copy(); Object temp27 = ((CopyVisitor) obj).get_copy(); if(temp26 == null && temp27 == null) {} else if(temp26 == null || temp27 == null || !temp26.equals(temp27)) { 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 -> ChineseWallAutomaton_List, first, Nonempty_ChineseWallAutomaton_List {{ if (is_equal) { ChineseWallAutomaton_List obj = (ChineseWallAutomaton_List) history.peek(); Object temp28 = obj.get_first(); if(temp28==null) { is_equal = false; return; } history.push(temp28); } }} after -> ChineseWallAutomaton_List, first, Nonempty_ChineseWallAutomaton_List {{ if (is_equal) history.pop(); }} before ChineseWallAutomaton_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Transition_List, first, Nonempty_Transition_List {{ if (is_equal) { Transition_List obj = (Transition_List) history.peek(); Object temp29 = obj.get_first(); if(temp29==null) { is_equal = false; return; } history.push(temp29); } }} after -> Transition_List, first, Nonempty_Transition_List {{ if (is_equal) history.pop(); }} before Transition_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Group_List, first, Nonempty_Group_List {{ if (is_equal) { Group_List obj = (Group_List) history.peek(); Object temp30 = obj.get_first(); if(temp30==null) { is_equal = false; return; } history.push(temp30); } }} after -> Group_List, first, Nonempty_Group_List {{ if (is_equal) history.pop(); }} before Group_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> CIType_List, first, Nonempty_CIType_List {{ if (is_equal) { CIType_List obj = (CIType_List) history.peek(); Object temp31 = obj.get_first(); if(temp31==null) { is_equal = false; return; } history.push(temp31); } }} after -> CIType_List, first, Nonempty_CIType_List {{ if (is_equal) history.pop(); }} before CIType_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Access_List, first, Nonempty_Access_List {{ if (is_equal) { Access_List obj = (Access_List) history.peek(); Object temp32 = obj.get_first(); if(temp32==null) { is_equal = false; return; } history.push(temp32); } }} after -> Access_List, first, Nonempty_Access_List {{ if (is_equal) history.pop(); }} before Access_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_ChineseWallAutomaton_List, it, ChineseWallAutomaton {{ if (is_equal) { Nonempty_ChineseWallAutomaton_List obj = (Nonempty_ChineseWallAutomaton_List) history.peek(); Object temp33 = obj.get_it(); if(temp33==null) { is_equal = false; return; } history.push(temp33); } }} after -> Nonempty_ChineseWallAutomaton_List, it, ChineseWallAutomaton {{ if (is_equal) history.pop(); }} before -> Nonempty_ChineseWallAutomaton_List, next, Nonempty_ChineseWallAutomaton_List {{ if (is_equal) { Nonempty_ChineseWallAutomaton_List obj = (Nonempty_ChineseWallAutomaton_List) history.peek(); Object temp34 = obj.get_next(); if(temp34==null) { is_equal = false; return; } history.push(temp34); } }} after -> Nonempty_ChineseWallAutomaton_List, next, Nonempty_ChineseWallAutomaton_List {{ if (is_equal) history.pop(); }} before Nonempty_ChineseWallAutomaton_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_Transition_List, it, Transition {{ if (is_equal) { Nonempty_Transition_List obj = (Nonempty_Transition_List) history.peek(); Object temp35 = obj.get_it(); if(temp35==null) { is_equal = false; return; } history.push(temp35); } }} after -> Nonempty_Transition_List, it, Transition {{ if (is_equal) history.pop(); }} before -> Nonempty_Transition_List, next, Nonempty_Transition_List {{ if (is_equal) { Nonempty_Transition_List obj = (Nonempty_Transition_List) history.peek(); Object temp36 = obj.get_next(); if(temp36==null) { is_equal = false; return; } history.push(temp36); } }} after -> Nonempty_Transition_List, next, Nonempty_Transition_List {{ if (is_equal) history.pop(); }} before Nonempty_Transition_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_Group_List, it, Group {{ if (is_equal) { Nonempty_Group_List obj = (Nonempty_Group_List) history.peek(); Object temp37 = obj.get_it(); if(temp37==null) { is_equal = false; return; } history.push(temp37); } }} after -> Nonempty_Group_List, it, Group {{ if (is_equal) history.pop(); }} before -> Nonempty_Group_List, next, Nonempty_Group_List {{ if (is_equal) { Nonempty_Group_List obj = (Nonempty_Group_List) history.peek(); Object temp38 = obj.get_next(); if(temp38==null) { is_equal = false; return; } history.push(temp38); } }} after -> Nonempty_Group_List, next, Nonempty_Group_List {{ if (is_equal) history.pop(); }} before Nonempty_Group_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_CIType_List, it, CIType {{ if (is_equal) { Nonempty_CIType_List obj = (Nonempty_CIType_List) history.peek(); Object temp39 = obj.get_it(); if(temp39==null) { is_equal = false; return; } history.push(temp39); } }} after -> Nonempty_CIType_List, it, CIType {{ if (is_equal) history.pop(); }} before -> Nonempty_CIType_List, next, Nonempty_CIType_List {{ if (is_equal) { Nonempty_CIType_List obj = (Nonempty_CIType_List) history.peek(); Object temp40 = obj.get_next(); if(temp40==null) { is_equal = false; return; } history.push(temp40); } }} after -> Nonempty_CIType_List, next, Nonempty_CIType_List {{ if (is_equal) history.pop(); }} before Nonempty_CIType_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_Access_List, it, Access {{ if (is_equal) { Nonempty_Access_List obj = (Nonempty_Access_List) history.peek(); Object temp41 = obj.get_it(); if(temp41==null) { is_equal = false; return; } history.push(temp41); } }} after -> Nonempty_Access_List, it, Access {{ if (is_equal) history.pop(); }} before -> Nonempty_Access_List, next, Nonempty_Access_List {{ if (is_equal) { Nonempty_Access_List obj = (Nonempty_Access_List) history.peek(); Object temp42 = obj.get_next(); if(temp42==null) { is_equal = false; return; } history.push(temp42); } }} after -> Nonempty_Access_List, next, Nonempty_Access_List {{ if (is_equal) history.pop(); }} before Nonempty_Access_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} return boolean {{ is_equal }} }