The inspection checks that the arguments provided to Method.invoke() and Constructor.newInstance() match the signature specified in Class.getMethod() and Class.getConstructor()

Example:


  Method m = myObj.getClass().getMethod("myMethod", int.class);
  // the argument should be an int value
  m.invoke(myObj, "abc");

New in 2017.2