We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98b116b + 70f270e commit 5c370ceCopy full SHA for 5c370ce
src/test/scala/tools/jackson/module/scala/introspect/ScalaAnnotationIntrospectorTest.scala
@@ -297,7 +297,9 @@ class ScalaAnnotationIntrospectorTest extends FixtureAnyFlatSpec with Matchers {
297
298
private def getProps(mapper: ObjectMapper, bean: AnyRef) = {
299
val classIntrospector = mapper.serializationConfig().classIntrospectorInstance()
300
- val beanDescription: BeanDescription = classIntrospector.introspectForSerialization(mapper.constructType(bean.getClass))
+ val beanType = mapper.constructType(bean.getClass)
301
+ val beanDescription: BeanDescription = classIntrospector.introspectForSerialization(beanType,
302
+ classIntrospector.introspectClassAnnotations(beanType))
303
beanDescription.findProperties()
304
}
305
0 commit comments