ClassInfo peer = provider.loadNativePeerClass(cls);
MethodInfo[] peerMethods = getSortedPeerMethods(peer);
// in the comparison during binary search, the key is in the
// second position, hence the constructor has false as parameter
MangledMethodInfoComparator comp =
new MangledMethodInfoComparator(false);
for (MethodInfo method : cls.getDeclaredMethodInfos()) {
if (Modifier.isNative(method.getModifiers())) {
if (Arrays.binarySearch(peerMethods, method, comp) < 0) {
noInconsistencies = false;