Here are the examples of the java api class com.fasterxml.jackson.databind.BeanDescription taken from open source projects.
1. BackendSerializer#acceptJsonFormatVisitor()
Project: torodb
File: BackendSerializer.java
File: BackendSerializer.java
@Override public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType type) throws JsonMappingException { if (visitor == null) { return; } JsonObjectFormatVisitor v = visitor.expectObjectFormat(type); SerializerProvider prov = visitor.getProvider(); final SerializationConfig config = prov.getConfig(); BeanDescription beanDesc = config.introspect(type); JsonSubTypes jsonSubTypes; if (v != null) { for (BeanPropertyDefinition propDef : beanDesc.findProperties()) { if (propDef.isExplicitlyIncluded()) { jsonSubTypes = propDef.getPrimaryMember().getAnnotation(JsonSubTypes.class); if (jsonSubTypes != null) { for (JsonSubTypes.Type jsonSubType : jsonSubTypes.value()) { JavaType subType = TypeFactory.defaultInstance().constructType(jsonSubType.value()); depositSchemaProperty(v, jsonSubType.name(), subType); } } else { depositSchemaProperty(v, propDef.getName(), propDef.getPrimaryMember().getType(beanDesc.bindingsForBeanType())); } } } } }