docs: public void checkParameters(Class[] arguments) {
          // lets check that the argument types are valid
          if (!isValidMethod(arguments)) {
              throw new IllegalArgumentException(
                      "Parameters to method: "
                      + getName()
                      + " do not match types: "
                      + InvokerHelper.toString(getParameterTypes())
                      + " for arguments: "
                      + InvokerHelper.toString(arguments));
          }
      }