void () { String foo = "foo"; String bar = "bar"; int foo2 = 100; int baz2 = 3; // test turning this into .equals and back if(foo == bar) { } // test that this doesn't have a "change to equals" intention if(foo2 == baz2) { } // test that this does have a "change to equals" intention if("foo" + "bar" == "bar" + "foo") { } // test turning this into ! .equals and back if(foo != bar) { } // test that this doesn't have a "change to ! equals" intention if(foo2 != baz2) { } }