File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
src/main/java/com/fasterxml/jackson/databind/introspect Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 66
77import com .fasterxml .jackson .databind .AnnotationIntrospector ;
88import com .fasterxml .jackson .databind .JavaType ;
9+ import com .fasterxml .jackson .databind .cfg .MapperConfig ;
910import com .fasterxml .jackson .databind .introspect .ClassIntrospector .MixInResolver ;
1011import com .fasterxml .jackson .databind .type .TypeBindings ;
1112import com .fasterxml .jackson .databind .type .TypeFactory ;
@@ -170,6 +171,24 @@ public final class AnnotatedClass
170171 _collectAnnotations = false ;
171172 }
172173
174+ /**
175+ * @deprecated Since 2.9, use methods in {@link AnnotatedClassResolver} instead.
176+ */
177+ @ Deprecated
178+ public static AnnotatedClass construct (JavaType type , MapperConfig <?> config ) {
179+ return construct (type , config , (MixInResolver ) config );
180+ }
181+
182+ /**
183+ * @deprecated Since 2.9, use methods in {@link AnnotatedClassResolver} instead.
184+ */
185+ @ Deprecated
186+ public static AnnotatedClass construct (JavaType type , MapperConfig <?> config ,
187+ MixInResolver mir )
188+ {
189+ return AnnotatedClassResolver .resolve (config , type , mir );
190+ }
191+
173192 /*
174193 /**********************************************************
175194 /* TypeResolutionContext implementation
You can’t perform that action at this time.
0 commit comments