@NotNull
  private Function<Integer, String> getNameProvider() {
    if (getKind() == FEATURE) {
      List<String> parameterNames = getFeature().getParameterNames();
      return parameterNames::get;
    } else {
      Parameter[] parameters = getReflection().getParameters();
      return index -> parameters[index].getName();
    }
  }
Invokes this method on the specified target and with the specified arguments.
Does <em>not</em> handle interceptors.

@param target the target of the method call
@param arguments the arguments for the method call
@return the return value of the method call
spock-core/src/main/java/org/spockframework/runtime/model/MethodInfo.java