mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Deprecate Types.getFieldJsonQualifierAnnotations (#1440)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user