I am trying to be able to have this in my code
@Inject
private Map> providers;
I was trying but thi
If you want Map
at the injection point, the way to bind it is:
MapBinder
You would use toProvider()
if you are supplying a custom provider, which you are not, i.e. you are merely trying to use the implicit underlying provider.