ClassPool pool = ClassPool.getDefault();
pool.insertClassPath("D:\\CODE\\jbex-v1.2.3-eval\\");
CtClass cc = pool.get("com.moyosoft.exchange.ws.bx");
CtMethod method = cc.getDeclaredMethod("h");
method.setBody("{return false;}");
CtMethod method2 = cc.getDeclaredMethod("g");
method2.setBody("{return false;}");
cc.writeFile();
pool.insertClassPath("D:\\CODE\\jbex-v1.2.3-eval\\");
CtClass cc = pool.get("com.moyosoft.exchange.ws.bx");
CtMethod method = cc.getDeclaredMethod("h");
method.setBody("{return false;}");
CtMethod method2 = cc.getDeclaredMethod("g");
method2.setBody("{return false;}");
cc.writeFile();