* {@inheritDoc}
*/
@Override
protected AnnotationsDescriptorObjectMapper createInstance()
throws Exception {
AnnotationsDescriptorObjectMapper mapper = new AnnotationsDescriptorObjectMapper();
for (TypeConverter<?, ?> converter : typeConverters) {
mapper.registerTypeConverter(converter);
}
for (Class<?> clazz : annotatedClasses) {
mapper.addClass(clazz);
}
return mapper;
}