b = ClassUtil.createInstance(resAnn.value(), false);
} else { // if not, use standard one, if indicated by annotations
if (info == null || info.use() == JsonTypeInfo.Id.NONE) {
return null;
}
b = new StdTypeResolverBuilder();
}
// Does it define a custom type id resolver?
JsonTypeIdResolver idResInfo = ac.getAnnotation(JsonTypeIdResolver.class);
TypeIdResolver idRes = (idResInfo == null) ? null
: ClassUtil.createInstance(idResInfo.value(), false);