Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.module;
 
 
    extends ValueInstantiators.Base
    implements java.io.Serializable
    private static final long serialVersionUID = -8929386427526115130L;

    
Mappings from raw (type-erased, i.e. non-generic) types to matching com.fasterxml.jackson.databind.deser.ValueInstantiator instances.
    /*
    /**********************************************************
    /* Life-cycle, construction and configuring
    /**********************************************************
     */
    public SimpleValueInstantiators()
    {
         = new HashMap<ClassKey,ValueInstantiator>();        
    }
    
            ValueInstantiator inst)
    {
        .put(new ClassKey(forType), inst);
        return this;
    }
    
    @Override
            BeanDescription beanDescValueInstantiator defaultInstantiator)
    {
        ValueInstantiator inst = .get(new ClassKey(beanDesc.getBeanClass()));
        return (inst == null) ? defaultInstantiator : inst;
    }
New to GrepCode? Check out our FAQ X