}
}
}
private boolean isHandled(MethodInfo mi) {
NativeMethodInfo nmi = (NativeMethodInfo) mi;
NativePeer nativePeer = nmi.getNativePeer();
// check if there is any native peer class associated to the class of this
// method at all
if(nativePeer == null) {
return false;
}
Method[] mth = nativePeer.getPeerClass().getMethods();
for(Method m: mth) {
String jniName = nmi.getJNIName();
if(m.getName().equals(jniName) || jniName.contains(m.getName())) {
return true;
}
}