报告提供给 Method.invoke() 和 Constructor.newInstance() 的实参与 Class.getMethod() 和 Class.getConstructor() 中指定的签名不匹配的情况。

示例:


  Method m = myObj.getClass().getMethod("myMethod", int.class);
  //此实参应为 int 值
  m.invoke(myObj, "abc");

2017.2 最新变化