类 DeprecationUtils
java.lang.Object
spring.turbo.util.DeprecationUtils
代码过期性检查工具
- 从以下版本开始:
- 1.0.4
- 作者:
- 应卓
-
方法概要
修饰符和类型方法说明booleanisDeprecated(Class<?> annotationSupplier) 检查类型是否已经过期booleanisDeprecated(AnnotatedElement annotationSupplier) 检查AnnotatedElement实例是否已经过期booleanisDeprecated(Method annotationSupplier) 检查方法是否已经过期
-
方法详细资料
-
isDeprecated
检查AnnotatedElement实例是否已经过期- 参数:
annotationSupplier- {code AnnotatedElement}实例- 返回:
- 已过期时返回
true否则返回false - 另请参阅:
-
isDeprecated
检查方法是否已经过期- 参数:
annotationSupplier- 方法- 返回:
- 已过期时返回
true否则返回false
-
isDeprecated
检查类型是否已经过期- 参数:
annotationSupplier- 类型- 返回:
- 已过期时返回
true否则返回false
-