@SuppressWarnings("unchecked")
 protected JsonSerializer<Object> _handleResolvable(JsonSerializer<?> ser)
     throws JsonMappingException {
   if (ser instanceof ResolvableSerializer) {
     ((ResolvableSerializer) ser).resolve(this);
   }
   return (JsonSerializer<Object>) ser;
 }
 /** Helper method called to resolve and contextualize given serializer, if and as necessary. */
 @SuppressWarnings("unchecked")
 protected JsonSerializer<Object> _handleContextualResolvable(
     JsonSerializer<?> ser, BeanProperty property) throws JsonMappingException {
   if (ser instanceof ResolvableSerializer) {
     ((ResolvableSerializer) ser).resolve(this);
   }
   return (JsonSerializer<Object>) handleSecondaryContextualization(ser, property);
 }