public void bindMapJsonCodec(Class<?> keyType, JsonCodec<?> valueType)
{
Preconditions.checkNotNull(keyType, "keyType is null");
Preconditions.checkNotNull(valueType, "valueType is null");
ParameterizedTypeImpl mapType = new ParameterizedTypeImpl(null, Map.class, keyType, valueType.getType());
binder.bind(getJsonCodecKey(mapType)).toProvider(new JsonCodecProvider(mapType)).in(Scopes.SINGLETON);
}