66
77import com .fasterxml .jackson .databind .AnnotationIntrospector ;
88import com .fasterxml .jackson .databind .JavaType ;
9- import com .fasterxml .jackson .databind .cfg .MapperConfig ;
109import com .fasterxml .jackson .databind .introspect .ClassIntrospector .MixInResolver ;
1110import com .fasterxml .jackson .databind .type .TypeBindings ;
1211import com .fasterxml .jackson .databind .type .TypeFactory ;
@@ -152,15 +151,6 @@ public final class AnnotatedClass
152151 _collectAnnotations = collectAnnotations ;
153152 }
154153
155- @ Deprecated // since 2.10
156- AnnotatedClass (JavaType type , Class <?> rawType , List <JavaType > superTypes ,
157- Class <?> primaryMixIn , Annotations classAnnotations , TypeBindings bindings ,
158- AnnotationIntrospector aintr , MixInResolver mir , TypeFactory tf )
159- {
160- this (type , rawType , superTypes , primaryMixIn , classAnnotations , bindings ,
161- aintr , mir , tf , true );
162- }
163-
164154 /**
165155 * Constructor (only) used for creating primordial simple types (during bootstrapping)
166156 * and array type placeholders where no fields or methods are needed.
@@ -180,46 +170,6 @@ public final class AnnotatedClass
180170 _collectAnnotations = false ;
181171 }
182172
183- /**
184- * @deprecated Since 2.9, use methods in {@link AnnotatedClassResolver} instead.
185- */
186- @ Deprecated
187- public static AnnotatedClass construct (JavaType type , MapperConfig <?> config ) {
188- return construct (type , config , (MixInResolver ) config );
189- }
190-
191- /**
192- * @deprecated Since 2.9, use methods in {@link AnnotatedClassResolver} instead.
193- */
194- @ Deprecated
195- public static AnnotatedClass construct (JavaType type , MapperConfig <?> config ,
196- MixInResolver mir )
197- {
198- return AnnotatedClassResolver .resolve (config , type , mir );
199- }
200-
201- /**
202- * Method similar to {@link #construct}, but that will NOT include
203- * information from supertypes; only class itself and any direct
204- * mix-ins it may have.
205- *
206- * @deprecated Since 2.9, use methods in {@link AnnotatedClassResolver} instead.
207- */
208- @ Deprecated
209- public static AnnotatedClass constructWithoutSuperTypes (Class <?> raw , MapperConfig <?> config ) {
210- return constructWithoutSuperTypes (raw , config , config );
211- }
212-
213- /**
214- * @deprecated Since 2.9, use methods in {@link AnnotatedClassResolver} instead.
215- */
216- @ Deprecated
217- public static AnnotatedClass constructWithoutSuperTypes (Class <?> raw , MapperConfig <?> config ,
218- MixInResolver mir )
219- {
220- return AnnotatedClassResolver .resolveWithoutSuperTypes (config , raw , mir );
221- }
222-
223173 /*
224174 /**********************************************************
225175 /* TypeResolutionContext implementation
@@ -314,14 +264,6 @@ public List<AnnotatedMethod> getFactoryMethods() {
314264 return _creators ().creatorMethods ;
315265 }
316266
317- /**
318- * @deprecated Since 2.9; use {@link #getFactoryMethods} instead.
319- */
320- @ Deprecated
321- public List <AnnotatedMethod > getStaticMethods () {
322- return getFactoryMethods ();
323- }
324-
325267 public Iterable <AnnotatedMethod > memberMethods () {
326268 return _methods ();
327269 }
0 commit comments