private static void removeSyntheticMembers(
LinkedHashMap<String, LinkedHashMap<String, HasEnclosingType>> matchesBySig) {
for (LinkedHashMap<String, HasEnclosingType> matchesByFullSig : matchesBySig.values()) {
Set<String> toRemove = new LinkedHashSet<String>();
for (String fullSig : matchesByFullSig.keySet()) {
HasEnclosingType member = matchesByFullSig.get(fullSig);
if (isSynthetic(member) && !isNewMethod(member)) {
toRemove.add(fullSig);
}
}
for (String fullSig : toRemove) {