I went for a graceful failure since the use case doesn't make sense: using InterceptionFactory<List<Object>> to produce the instance means that we'll only be able to configure interceptor bindings on an AnnotatedType<List<Object>>. As interceptors binding are not inherited from Interface, it seems normal that we don't support this. More broadly I think we should only accept instance of the exact same type than the one used in InterceptorFactory type parameter: it would be too complex to support and not compliant with Interceptor Specification. Wdyt ? |