keySer = provider.findKeySerializer(type.getKeyType(), property);
} else if (keySer instanceof ContextualSerializer) {
keySer = ((ContextualSerializer) keySer).createContextual(provider, property);
}
// finally, TypeSerializers may need contextualization as well
TypeSerializer typeSer = valueTypeSerializer;
if (typeSer != null) {
typeSer = typeSer.forProperty(property);
}
return withResolved(property, keySer, typeSer, valueSer);
}