boolean (Class<?> c1, Class<?> c2) { if (c1 == c2) return false; String name1 = c1.getName(); String name2 = c2.getName(); int index = name1.indexOf("$$Lambda"); return index > 0 && index == name2.indexOf("$$Lambda") && name2.startsWith(name1.substring(0, index)) && ourFieldCache.get(c1).size() == ourFieldCache.get(c2).size(); }