String fileName = m.getDeclaringClass().getName().replace('.','/') + ".class";
URL resource = cl.getResource(fileName);
InputStream classStream = cl.getResourceAsStream(fileName);
try {
ClassParser cparser=new ClassParser(classStream,fileName);
JavaClass parsedClass = cparser.parse();
org.apache.bcel.classfile.Method[] methods = parsedClass.getMethods();
org.apache.bcel.classfile.Method javaMethod = null;
for (int i = 0; i < methods.length && javaMethod == null; i++) {
if (methods[i].getName().equals(m.getName()) &&
JNIUtil.jniSignature(m).equals(methods[i].getSignature())) {