javassist获取接口方法参数名为空

           ClassPool pool = ClassPool.getDefault();
           String name = anInterface.getName();
           ClassClassPath classPath = new ClassClassPath(anInterface);
           pool.insertClassPath(classPath);


           CtClass cc = pool.get(name);
           CtMethod cm = cc.getDeclaredMethod(serviceMethod);
           MethodInfo methodInfo = cm.getMethodInfo();
           CodeAttribute codeAttribute = methodInfo.getCodeAttribute();

CodeAttribute codeAttribute = methodInfo.getCodeAttribute(); 这个为null ,取不到值,拿不到参数名

debug调试吧,一步步往下