public Object invoke(Method method,Object target,ExtensionContext extensionContext,ExtensionRegistry extensionRegistry){
  @SuppressWarnings("unchecked") Optional<Object> optionalTarget=(target instanceof Optional ? (Optional<Object>)target : Optional.ofNullable(target));
  return ReflectionUtils.invokeMethod(method,target,resolveParameters(method,optionalTarget,extensionContext,extensionRegistry));
}

public Object invoke ( Method method , Object target , ExtensionContext extensionContext , ExtensionRegistry extensionRegistry ) { @ SuppressWarnings ( "unchecked" ) Optional < Object > optionalTarget = ( target instanceof Optional ? ( Optional < Object > ) target : Optional . ofNullable ( target ) ) ; return ReflectionUtils . invokeMethod ( method , target , resolveParameters ( method , optionalTarget , extensionContext , extensionRegistry ) ) ; }
invoke the supplied method on the supplied target object with dynamic parameter resolution .
