use of com.fasterxml.jackson.databind.cfg.HandlerInstantiator in project jackson-databind by FasterXML.
the class DefaultSerializerProvider method includeFilterInstance.
@Override
public Object includeFilterInstance(BeanPropertyDefinition forProperty, Class<?> filterClass) {
if (filterClass == null) {
return null;
}
HandlerInstantiator hi = _config.getHandlerInstantiator();
Object filter = (hi == null) ? null : hi.includeFilterInstance(_config, forProperty, filterClass);
if (filter == null) {
filter = ClassUtil.createInstance(filterClass, _config.canOverrideAccessModifiers());
}
return filter;
}
Aggregations