Deprecate Types.getFieldJsonQualifierAnnotations (#1440)

This commit is contained in:
Zac Sweers
2021-11-30 21:43:39 -05:00
committed by GitHub
parent ace45a29cf
commit fb8c7b50fc

View File

@@ -276,7 +276,10 @@ public final class Types {
* @param fieldName the target field name on {@code clazz}.
* @return a set of {@link JsonQualifier}-annotated {@link Annotation} instances retrieved from
* the targeted field. Can be empty if none are found.
* @deprecated this is no longer needed in Kotlin 1.6.0 (which has direct annotation
* instantiation) and is obsolete.
*/
@Deprecated
public static Set<? extends Annotation> getFieldJsonQualifierAnnotations(
Class<?> clazz, String fieldName) {
try {