public ObjectReader withValueToUpdate(Object value){
  if (value == _valueToUpdate)   return this;
  if (value == null) {
    throw new IllegalArgumentException("cat not update null value");
  }
  JavaType t=(_valueType == null) ? _config.constructType(value.getClass()) : _valueType;
  return new ObjectReader(this,_config,t,value,_schema,_injectableValues);
}

public ObjectReader withValueToUpdate ( Object value ) { if ( value == _valueToUpdate ) return this ; if ( value == null ) { throw new IllegalArgumentException ( "cat not update null value" ) ; } JavaType t = ( _valueType == null ) ? _config . constructType ( value . getClass ( ) ) : _valueType ; return new ObjectReader ( this , _config , t , value , _schema , _injectableValues ) ; }
method for constructing a new instance with configuration that updates passed object ( as root value ) , instead of constructing a new value . < p > note that the method does not change state of this reader , but rather construct and returns a newly configured instance .
