// 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 -> Commands, mousecommandlist, MouseCommandList {{ if (is_equal) { Commands obj = (Commands) history.peek(); Object temp1 = obj.get_mousecommandlist(); if(temp1==null) { is_equal = false; return; } history.push(temp1); } }} after -> Commands, mousecommandlist, MouseCommandList {{ if (is_equal) history.pop(); }} before Commands {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> MouseCommandList, mousecommand_list, MouseCommand_List {{ if (is_equal) { MouseCommandList obj = (MouseCommandList) history.peek(); Object temp2 = obj.get_mousecommand_list(); if(temp2==null) { is_equal = false; return; } history.push(temp2); } }} after -> MouseCommandList, mousecommand_list, MouseCommand_List {{ if (is_equal) history.pop(); }} before MouseCommandList {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before MouseCommand {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> TwoButtonCommand, twobuttonmousebutton, TwoButtonMouseButton {{ if (is_equal) { TwoButtonCommand obj = (TwoButtonCommand) history.peek(); Object temp3 = obj.get_twobuttonmousebutton(); if(temp3==null) { is_equal = false; return; } history.push(temp3); } }} after -> TwoButtonCommand, twobuttonmousebutton, TwoButtonMouseButton {{ if (is_equal) history.pop(); }} before -> TwoButtonCommand, basicoperation, BasicOperation {{ if (is_equal) { TwoButtonCommand obj = (TwoButtonCommand) history.peek(); Object temp4 = obj.get_basicoperation(); if(temp4==null) { is_equal = false; return; } history.push(temp4); } }} after -> TwoButtonCommand, basicoperation, BasicOperation {{ if (is_equal) history.pop(); }} before -> TwoButtonCommand, mousecoordinates, MouseCoordinates {{ if (is_equal) { TwoButtonCommand obj = (TwoButtonCommand) history.peek(); Object temp5 = obj.get_mousecoordinates(); if(temp5==null) { is_equal = false; return; } history.push(temp5); } }} after -> TwoButtonCommand, mousecoordinates, MouseCoordinates {{ if (is_equal) history.pop(); }} before TwoButtonCommand {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> ThreeButtonCommand, threebuttonmousebutton, ThreeButtonMouseButton {{ if (is_equal) { ThreeButtonCommand obj = (ThreeButtonCommand) history.peek(); Object temp6 = obj.get_threebuttonmousebutton(); if(temp6==null) { is_equal = false; return; } history.push(temp6); } }} after -> ThreeButtonCommand, threebuttonmousebutton, ThreeButtonMouseButton {{ if (is_equal) history.pop(); }} before -> ThreeButtonCommand, basicoperation, BasicOperation {{ if (is_equal) { ThreeButtonCommand obj = (ThreeButtonCommand) history.peek(); Object temp7 = obj.get_basicoperation(); if(temp7==null) { is_equal = false; return; } history.push(temp7); } }} after -> ThreeButtonCommand, basicoperation, BasicOperation {{ if (is_equal) history.pop(); }} before -> ThreeButtonCommand, mousecoordinates, MouseCoordinates {{ if (is_equal) { ThreeButtonCommand obj = (ThreeButtonCommand) history.peek(); Object temp8 = obj.get_mousecoordinates(); if(temp8==null) { is_equal = false; return; } history.push(temp8); } }} after -> ThreeButtonCommand, mousecoordinates, MouseCoordinates {{ if (is_equal) history.pop(); }} before ThreeButtonCommand {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> WheelButtonCommand, wheelmousebutton, WheelMouseButton {{ if (is_equal) { WheelButtonCommand obj = (WheelButtonCommand) history.peek(); Object temp9 = obj.get_wheelmousebutton(); if(temp9==null) { is_equal = false; return; } history.push(temp9); } }} after -> WheelButtonCommand, wheelmousebutton, WheelMouseButton {{ if (is_equal) history.pop(); }} before -> WheelButtonCommand, advancedoperation, AdvancedOperation {{ if (is_equal) { WheelButtonCommand obj = (WheelButtonCommand) history.peek(); Object temp10 = obj.get_advancedoperation(); if(temp10==null) { is_equal = false; return; } history.push(temp10); } }} after -> WheelButtonCommand, advancedoperation, AdvancedOperation {{ if (is_equal) history.pop(); }} before -> WheelButtonCommand, mousecoordinates, MouseCoordinates {{ if (is_equal) { WheelButtonCommand obj = (WheelButtonCommand) history.peek(); Object temp11 = obj.get_mousecoordinates(); if(temp11==null) { is_equal = false; return; } history.push(temp11); } }} after -> WheelButtonCommand, mousecoordinates, MouseCoordinates {{ if (is_equal) history.pop(); }} before WheelButtonCommand {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before BasicButtons {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> TwoButtonMouseButton, basicbuttons, BasicButtons {{ if (is_equal) { TwoButtonMouseButton obj = (TwoButtonMouseButton) history.peek(); Object temp12 = obj.get_basicbuttons(); if(temp12==null) { is_equal = false; return; } history.push(temp12); } }} after -> TwoButtonMouseButton, basicbuttons, BasicButtons {{ if (is_equal) history.pop(); }} before TwoButtonMouseButton {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> ThreeBBasicButtons, basicbuttons, BasicButtons {{ if (is_equal) { ThreeBBasicButtons obj = (ThreeBBasicButtons) history.peek(); Object temp13 = obj.get_basicbuttons(); if(temp13==null) { is_equal = false; return; } history.push(temp13); } }} after -> ThreeBBasicButtons, basicbuttons, BasicButtons {{ if (is_equal) history.pop(); }} before ThreeBBasicButtons {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before ThreeButtonMouseButton {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> WBBasicButtons, basicbuttons, BasicButtons {{ if (is_equal) { WBBasicButtons obj = (WBBasicButtons) history.peek(); Object temp14 = obj.get_basicbuttons(); if(temp14==null) { is_equal = false; return; } history.push(temp14); } }} after -> WBBasicButtons, basicbuttons, BasicButtons {{ if (is_equal) history.pop(); }} before WBBasicButtons {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before WheelMouseButton {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before LeftButton {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before RightButton {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before MiddleButton {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before WheelButton {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before BasicOperation {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before AdvancedOperation {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before ClickOp {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before PressOp {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before ReleaseOp {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before RollUpOp {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before RollDownOp {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> MouseCoordinates, mousecoordinate, MouseCoordinate {{ if (is_equal) { MouseCoordinates obj = (MouseCoordinates) history.peek(); Object temp15 = obj.get_mousecoordinate(); if(temp15==null) { is_equal = false; return; } history.push(temp15); } }} after -> MouseCoordinates, mousecoordinate, MouseCoordinate {{ if (is_equal) history.pop(); }} before MouseCoordinates {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before MouseCoordinate {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before PointCoordinate {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_x() == ((PointCoordinate) obj).get_x(); is_equal = is_equal && host.get_y() == ((PointCoordinate) obj).get_y(); }} before EmptyCoordinate {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Main {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before JeffsVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) 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 temp16 = host.get_copy(); Object temp17 = ((CopyVisitor) obj).get_copy(); if(temp16 == null && temp17 == null) {} else if(temp16 == null || temp17 == null || !temp16.equals(temp17)) { 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 -> MouseCommand_List, first, Nonempty_MouseCommand_List {{ if (is_equal) { MouseCommand_List obj = (MouseCommand_List) history.peek(); Object temp18 = obj.get_first(); if(temp18==null) { is_equal = false; return; } history.push(temp18); } }} after -> MouseCommand_List, first, Nonempty_MouseCommand_List {{ if (is_equal) history.pop(); }} before MouseCommand_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_MouseCommand_List, it, MouseCommand {{ if (is_equal) { Nonempty_MouseCommand_List obj = (Nonempty_MouseCommand_List) history.peek(); Object temp19 = obj.get_it(); if(temp19==null) { is_equal = false; return; } history.push(temp19); } }} after -> Nonempty_MouseCommand_List, it, MouseCommand {{ if (is_equal) history.pop(); }} before -> Nonempty_MouseCommand_List, next, Nonempty_MouseCommand_List {{ if (is_equal) { Nonempty_MouseCommand_List obj = (Nonempty_MouseCommand_List) history.peek(); Object temp20 = obj.get_next(); if(temp20==null) { is_equal = false; return; } history.push(temp20); } }} after -> Nonempty_MouseCommand_List, next, Nonempty_MouseCommand_List {{ if (is_equal) history.pop(); }} before Nonempty_MouseCommand_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} return boolean {{ is_equal }} }