public < T > void bind ( Class < T > type , SerializerResolver < ? extends T > resolver ) { typeToResolverCache . put ( type , Optional . < SerializerResolver < ? > > of ( resolver ) ) ; boundTypeToResolver . put ( type , resolver ) ; }
Bind a resolver for the given type .