Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.type;
Class that defines API that can be used to modify details of com.fasterxml.jackson.databind.JavaType instances constructed using TypeFactory. Registered modifiers are called in order, to let them modify (or replace) basic type instance factory constructs. This is typically needed to support creation of MapLikeType and CollectionLikeType instances, as those can not be constructed in generic fashion.
public abstract class TypeModifier
Method called to let modifier change constructed type definition. Note that this is only guaranteed to be called for non-container types ("simple" types not recognized as arrays, java.util.Collection or java.util.Map).

type Instance to modify
jdkType JDK type that was used to construct instance to modify
context Type resolution context used for the type
typeFactory Type factory that can be used to construct parameter type; note, however, that care must be taken to avoid infinite loops -- specifically, do not construct instance of primary type itself
Actual type instance to use; usually either type (as is or with modifications), or a newly constructed type instance based on it. Can not be null.
    public abstract JavaType modifyType(JavaType typeType jdkTypeTypeBindings context,
            TypeFactory typeFactory);
New to GrepCode? Check out our FAQ X