}
if (delegateMethod == null) {
//TODO mrpvoe error message
throw new IllegalArgumentException("No valid delegate methods could be found");
}
MethodInjector delegateMethodInjector = injectorFactory.create(delegateClass, delegateMethod, providedArgs);
@SuppressWarnings("unchecked")
ServiceDelegateInvoker<T> serviceDelegateInvoker = new ServiceDelegateInvoker<T>(delegateKey, delegateMethodInjector, provider);
delegateInvokerCache.put(serviceMethod, serviceDelegateInvoker);
}
}