コード例 #1
0
ファイル: JvstTest2.java プロジェクト: romix/javassist
 private void testRemove4(CtClass cc, String desc) throws Exception {
   CtConstructor c = cc.getConstructor(desc);
   cc.removeConstructor(c);
   try {
     CtConstructor c2 = cc.getConstructor(desc);
     fail("the removed method still exists");
   } catch (NotFoundException e) {
   }
 }