Object methods are nothing special, don't put them to the top

This commit is contained in:
peter
2012-06-19 18:41:08 +02:00
parent e17ef2edb6
commit f714f0a44c
3 changed files with 14 additions and 0 deletions
@@ -58,6 +58,9 @@ public class KnownElementWeigher extends ProximityWeigher {
return -1;
}
}
if (CommonClassNames.JAVA_LANG_OBJECT.equals(containingClass.getQualifiedName())) {
return 0;
}
return getJdkClassProximity(method.getContainingClass());
}
}