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

示例:


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

2017.2 的新功能