mapbinder

Inject key into MapBinder

I am trying to inject a Map into a class using Guice where the map has the form Map<MyInterface, Integer>. I want to use the MapBinder extention to accomplish this, but it seems that MapBinder requires an instantiated object for the key. I would like to have Guice inject instantiations of the key, since they are complex objects that re...