// This file is automatically generated by DemeterJ. SubgraphVisitor { {{ private java.util.Stack history = new java.util.Stack(); public SubgraphVisitor(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 -> TraversalPaths, tracematch_list, TraceMatch_List {{ if (is_equal) { TraversalPaths obj = (TraversalPaths) history.peek(); Object temp3 = obj.get_tracematch_list(); if(temp3==null) { is_equal = false; return; } history.push(temp3); } }} after -> TraversalPaths, tracematch_list, TraceMatch_List {{ if (is_equal) history.pop(); }} before TraversalPaths {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> TraceMatch, decls, VariableDeclaration_CList {{ if (is_equal) { TraceMatch obj = (TraceMatch) history.peek(); Object temp4 = obj.get_decls(); if(temp4==null) { is_equal = false; return; } history.push(temp4); } }} after -> TraceMatch, decls, VariableDeclaration_CList {{ if (is_equal) history.pop(); }} before -> TraceMatch, SymbolDeclaration, Symbol_List {{ if (is_equal) { TraceMatch obj = (TraceMatch) history.peek(); Object temp5 = obj.get_SymbolDeclaration(); if(temp5==null) { is_equal = false; return; } history.push(temp5); } }} after -> TraceMatch, SymbolDeclaration, Symbol_List {{ if (is_equal) history.pop(); }} before -> TraceMatch, regex, RegEx {{ if (is_equal) { TraceMatch obj = (TraceMatch) history.peek(); Object temp6 = obj.get_regex(); if(temp6==null) { is_equal = false; return; } history.push(temp6); } }} after -> TraceMatch, regex, RegEx {{ if (is_equal) history.pop(); }} before TraceMatch {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> VariableDeclaration, classname, ClassName {{ if (is_equal) { VariableDeclaration obj = (VariableDeclaration) history.peek(); Object temp7 = obj.get_classname(); if(temp7==null) { is_equal = false; return; } history.push(temp7); } }} after -> VariableDeclaration, classname, ClassName {{ if (is_equal) history.pop(); }} before -> VariableDeclaration, variablename, VariableName {{ if (is_equal) { VariableDeclaration obj = (VariableDeclaration) history.peek(); Object temp8 = obj.get_variablename(); if(temp8==null) { is_equal = false; return; } history.push(temp8); } }} after -> VariableDeclaration, variablename, VariableName {{ if (is_equal) history.pop(); }} before VariableDeclaration {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Symbol, name, Name {{ if (is_equal) { Symbol obj = (Symbol) history.peek(); Object temp9 = obj.get_name(); if(temp9==null) { is_equal = false; return; } history.push(temp9); } }} after -> Symbol, name, Name {{ if (is_equal) history.pop(); }} before -> Symbol, kind, Kind {{ if (is_equal) { Symbol obj = (Symbol) history.peek(); Object temp10 = obj.get_kind(); if(temp10==null) { is_equal = false; return; } history.push(temp10); } }} after -> Symbol, kind, Kind {{ if (is_equal) history.pop(); }} before -> Symbol, pointcutexp, PointcutExp {{ if (is_equal) { Symbol obj = (Symbol) history.peek(); Object temp11 = obj.get_pointcutexp(); if(temp11==null) { is_equal = false; return; } history.push(temp11); } }} after -> Symbol, pointcutexp, PointcutExp {{ if (is_equal) history.pop(); }} before Symbol {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Kind {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Before {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before After {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before PointcutExp {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Simple {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Call, classname, ClassName {{ if (is_equal) { Call obj = (Call) history.peek(); Object temp12 = obj.get_classname(); if(temp12==null) { is_equal = false; return; } history.push(temp12); } }} after -> Call, classname, ClassName {{ if (is_equal) history.pop(); }} before -> Call, methodname, MethodName {{ if (is_equal) { Call obj = (Call) history.peek(); Object temp13 = obj.get_methodname(); if(temp13==null) { is_equal = false; return; } history.push(temp13); } }} after -> Call, methodname, MethodName {{ if (is_equal) history.pop(); }} before Call {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Target, variablename, VariableName {{ if (is_equal) { Target obj = (Target) history.peek(); Object temp14 = obj.get_variablename(); if(temp14==null) { is_equal = false; return; } history.push(temp14); } }} after -> Target, variablename, VariableName {{ if (is_equal) history.pop(); }} before Target {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> This, variablename, VariableName {{ if (is_equal) { This obj = (This) history.peek(); Object temp15 = obj.get_variablename(); if(temp15==null) { is_equal = false; return; } history.push(temp15); } }} after -> This, variablename, VariableName {{ if (is_equal) history.pop(); }} before This {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Compound, op, Op {{ if (is_equal) { Compound obj = (Compound) history.peek(); Object temp16 = obj.get_op(); if(temp16==null) { is_equal = false; return; } history.push(temp16); } }} after -> Compound, op, Op {{ if (is_equal) history.pop(); }} before -> Compound, args, PointcutExp_List {{ if (is_equal) { Compound obj = (Compound) history.peek(); Object temp17 = obj.get_args(); if(temp17==null) { is_equal = false; return; } history.push(temp17); } }} after -> Compound, args, PointcutExp_List {{ if (is_equal) history.pop(); }} before Compound {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Op {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Union {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Intersection {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before RegEx {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Name {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp18 = host.get_ident(); Object temp19 = ((Name) obj).get_ident(); if(temp18 == null && temp19 == null) {} else if(temp18 == null || temp19 == null || !temp18.equals(temp19)) { is_equal = false; return; } }} before ClassName {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp20 = host.get_ident(); Object temp21 = ((ClassName) obj).get_ident(); if(temp20 == null && temp21 == null) {} else if(temp20 == null || temp21 == null || !temp20.equals(temp21)) { is_equal = false; return; } }} before MethodName {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp22 = host.get_ident(); Object temp23 = ((MethodName) obj).get_ident(); if(temp22 == null && temp23 == null) {} else if(temp22 == null || temp23 == null || !temp22.equals(temp23)) { is_equal = false; return; } }} before VariableName {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp24 = host.get_ident(); Object temp25 = ((VariableName) 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 -> TraceMatch_List, first, Nonempty_TraceMatch_List {{ if (is_equal) { TraceMatch_List obj = (TraceMatch_List) history.peek(); Object temp28 = obj.get_first(); if(temp28==null) { is_equal = false; return; } history.push(temp28); } }} after -> TraceMatch_List, first, Nonempty_TraceMatch_List {{ if (is_equal) history.pop(); }} before TraceMatch_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> VariableDeclaration_CList, first, Nonempty_VariableDeclaration_CList {{ if (is_equal) { VariableDeclaration_CList obj = (VariableDeclaration_CList) history.peek(); Object temp29 = obj.get_first(); if(temp29==null) { is_equal = false; return; } history.push(temp29); } }} after -> VariableDeclaration_CList, first, Nonempty_VariableDeclaration_CList {{ if (is_equal) history.pop(); }} before VariableDeclaration_CList {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Symbol_List, first, Nonempty_Symbol_List {{ if (is_equal) { Symbol_List obj = (Symbol_List) history.peek(); Object temp30 = obj.get_first(); if(temp30==null) { is_equal = false; return; } history.push(temp30); } }} after -> Symbol_List, first, Nonempty_Symbol_List {{ if (is_equal) history.pop(); }} before Symbol_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> PointcutExp_List, first, Nonempty_PointcutExp_List {{ if (is_equal) { PointcutExp_List obj = (PointcutExp_List) history.peek(); Object temp31 = obj.get_first(); if(temp31==null) { is_equal = false; return; } history.push(temp31); } }} after -> PointcutExp_List, first, Nonempty_PointcutExp_List {{ if (is_equal) history.pop(); }} before PointcutExp_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_TraceMatch_List, it, TraceMatch {{ if (is_equal) { Nonempty_TraceMatch_List obj = (Nonempty_TraceMatch_List) history.peek(); Object temp32 = obj.get_it(); if(temp32==null) { is_equal = false; return; } history.push(temp32); } }} after -> Nonempty_TraceMatch_List, it, TraceMatch {{ if (is_equal) history.pop(); }} before -> Nonempty_TraceMatch_List, next, Nonempty_TraceMatch_List {{ if (is_equal) { Nonempty_TraceMatch_List obj = (Nonempty_TraceMatch_List) history.peek(); Object temp33 = obj.get_next(); if(temp33==null) { is_equal = false; return; } history.push(temp33); } }} after -> Nonempty_TraceMatch_List, next, Nonempty_TraceMatch_List {{ if (is_equal) history.pop(); }} before Nonempty_TraceMatch_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_VariableDeclaration_CList, it, VariableDeclaration {{ if (is_equal) { Nonempty_VariableDeclaration_CList obj = (Nonempty_VariableDeclaration_CList) history.peek(); Object temp34 = obj.get_it(); if(temp34==null) { is_equal = false; return; } history.push(temp34); } }} after -> Nonempty_VariableDeclaration_CList, it, VariableDeclaration {{ if (is_equal) history.pop(); }} before -> Nonempty_VariableDeclaration_CList, next, Nonempty_VariableDeclaration_CList {{ if (is_equal) { Nonempty_VariableDeclaration_CList obj = (Nonempty_VariableDeclaration_CList) history.peek(); Object temp35 = obj.get_next(); if(temp35==null) { is_equal = false; return; } history.push(temp35); } }} after -> Nonempty_VariableDeclaration_CList, next, Nonempty_VariableDeclaration_CList {{ if (is_equal) history.pop(); }} before Nonempty_VariableDeclaration_CList {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_Symbol_List, it, Symbol {{ if (is_equal) { Nonempty_Symbol_List obj = (Nonempty_Symbol_List) history.peek(); Object temp36 = obj.get_it(); if(temp36==null) { is_equal = false; return; } history.push(temp36); } }} after -> Nonempty_Symbol_List, it, Symbol {{ if (is_equal) history.pop(); }} before -> Nonempty_Symbol_List, next, Nonempty_Symbol_List {{ if (is_equal) { Nonempty_Symbol_List obj = (Nonempty_Symbol_List) history.peek(); Object temp37 = obj.get_next(); if(temp37==null) { is_equal = false; return; } history.push(temp37); } }} after -> Nonempty_Symbol_List, next, Nonempty_Symbol_List {{ if (is_equal) history.pop(); }} before Nonempty_Symbol_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_PointcutExp_List, it, PointcutExp {{ if (is_equal) { Nonempty_PointcutExp_List obj = (Nonempty_PointcutExp_List) history.peek(); Object temp38 = obj.get_it(); if(temp38==null) { is_equal = false; return; } history.push(temp38); } }} after -> Nonempty_PointcutExp_List, it, PointcutExp {{ if (is_equal) history.pop(); }} before -> Nonempty_PointcutExp_List, next, Nonempty_PointcutExp_List {{ if (is_equal) { Nonempty_PointcutExp_List obj = (Nonempty_PointcutExp_List) history.peek(); Object temp39 = obj.get_next(); if(temp39==null) { is_equal = false; return; } history.push(temp39); } }} after -> Nonempty_PointcutExp_List, next, Nonempty_PointcutExp_List {{ if (is_equal) history.pop(); }} before Nonempty_PointcutExp_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} return boolean {{ is_equal }} }