void () { doTest("import java.util.Date;\n" + "import java.util.Map;\n" + "import java.util.Objects;\n" + "\n" + "class X {\n" + " public static void foo(Date date, Map<String, String> map) {\n" + " boolean res = Objects./*No class found which is a subtype of both 'Map<String, String>' and 'Date'*/equals/**/(map, date);\n" + " }\n" + "}"); }