code: public MethodInfo addMethod(Method method) {
          Modifiers modifiers = Modifiers.getInstance(method.getModifiers()).toAbstract(false);
          MethodInfo mi = addMethod(modifiers, method.getName(), MethodDesc.forMethod(method));
          
          // exception stuff...
          Class[] exceptions = method.getExceptionTypes();
          for (int i=0; i<exceptions.length; i++) {
              mi.addException(TypeDesc.forClass(exceptions[i]));
          }
  
          return mi;
      }
docs: Add a method to this class. This method is handy for implementing
  methods defined by a pre-existing interface.