void () { doTest("class X {" + " boolean m(Class c1, Class c2) {" + " return !java.util.Objects./*'!equals()' can be replaced with '!='*//*_*/equals/**/(c1, c2);" + " }" + "}"); checkQuickFix(CommonQuickFixBundle.message("fix.replace.x.with.y", "!equals()", "!="), "class X {" + " boolean m(Class c1, Class c2) {" + " return c1 != c2;" + " }" + "}"); }