@@ -147,7 +147,8 @@ protected AnnotatedClass _resolveAnnotatedWithoutSuperTypes(JavaType type) {
147
147
*/
148
148
149
149
@ Override
150
- public BasicBeanDescription introspectForSerialization (JavaType type )
150
+ public BasicBeanDescription introspectForSerialization (JavaType type ,
151
+ AnnotatedClass classDef )
151
152
{
152
153
// minor optimization: for some JDK types do minimal introspection
153
154
BasicBeanDescription desc = _findStdTypeDesc (type );
@@ -165,16 +166,16 @@ public BasicBeanDescription introspectForSerialization(JavaType type)
165
166
}
166
167
}
167
168
desc = BasicBeanDescription .forSerialization (collectProperties (type ,
168
- introspectClassAnnotations (type ),
169
- true , "set" ));
169
+ classDef , true , "set" ));
170
170
_resolvedSerBeanDescs .put (type , desc );
171
171
}
172
172
}
173
173
return desc ;
174
174
}
175
175
176
176
@ Override
177
- public BasicBeanDescription introspectForDeserialization (JavaType type )
177
+ public BasicBeanDescription introspectForDeserialization (JavaType type ,
178
+ AnnotatedClass classDef )
178
179
{
179
180
// minor optimization: for some JDK types do minimal introspection
180
181
BasicBeanDescription desc = _findStdTypeDesc (type );
@@ -192,8 +193,7 @@ public BasicBeanDescription introspectForDeserialization(JavaType type)
192
193
}
193
194
}
194
195
desc = BasicBeanDescription .forDeserialization (collectProperties (type ,
195
- introspectClassAnnotations (type ),
196
- false , "set" ));
196
+ classDef , false , "set" ));
197
197
_resolvedDeserBeanDescs .put (type , desc );
198
198
}
199
199
}
@@ -211,7 +211,8 @@ public BasicBeanDescription introspectForDeserializationWithBuilder(JavaType typ
211
211
}
212
212
213
213
@ Override
214
- public BasicBeanDescription introspectForCreation (JavaType type )
214
+ public BasicBeanDescription introspectForCreation (JavaType type ,
215
+ AnnotatedClass classDef )
215
216
{
216
217
BasicBeanDescription desc = _findStdTypeDesc (type );
217
218
if (desc == null ) {
@@ -220,8 +221,7 @@ public BasicBeanDescription introspectForCreation(JavaType type)
220
221
desc = _findStdJdkCollectionDesc (type );
221
222
if (desc == null ) {
222
223
desc = BasicBeanDescription .forDeserialization (collectProperties (type ,
223
- introspectClassAnnotations (type ),
224
- false , "set" ));
224
+ classDef , false , "set" ));
225
225
}
226
226
}
227
227
return desc ;
0 commit comments