Beispiel #1
0
 public void visitMethodInsn(int opcode, String owner, String name, String desc) {
   String str = os[opcode] + " " + owner + "/" + name + desc;
   if (opcode == INVOKEINTERFACE) {
     ppn(str + " " + (TypeDesc.getNumArgumentTypes(desc) + 1));
   } else {
     ppn(str);
   }
 }
 private static int getNumArgs(MethodInsnNode m) {
   int ret = TypeDesc.getNumArgumentTypes(m.desc);
   if (m.getOpcode() != INVOKESTATIC) ret++;
   return ret;
 }