XmlAdapter<Object,Object> adapter = findAdapter(am, true, type);
if (adapter != null) {
// Ugh. Must match to see if adapter's bounded type (result to map to) matches property type
if (isContainerType(type)) {
if (adapterTypeMatches(adapter, type)) {
return new XmlAdapterJsonDeserializer(adapter);
}
} else {
return new XmlAdapterJsonDeserializer(adapter);
}
}
// [JACKSON-150]: add support for additional core XML types needed by JAXB
if (type != null) {