void () { // should not warn, this is reported by the "'equals()' called on Enum value" inspection doTest("class X {" + " boolean m(E e1, E e2) {" + " return e1.equals(e2);" + " }" + "}" + "enum E {" + " A,B,C" + "}"); }