alexandroid/decompiled/jadx/sources/com/fasterxml/jackson/module/kotlin/KotlinSerializersKt.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

32 lines
1.8 KiB
Java

package com.fasterxml.jackson.module.kotlin;
import com.fasterxml.jackson.annotation.JsonValue;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import kotlin.Metadata;
import kotlin.jvm.internal.SourceDebugExtension;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000\f\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u001a\u0012\u0010\u0000\u001a\u0004\u0018\u00010\u0001*\u0006\u0012\u0002\b\u00030\u0002H\u0002¨\u0006\u0003"}, d2 = {"getStaticJsonValueGetter", "Ljava/lang/reflect/Method;", "Ljava/lang/Class;", "jackson-module-kotlin"}, k = 2, mv = {1, 9, 0}, xi = 48)
@SourceDebugExtension({"SMAP\nKotlinSerializers.kt\nKotlin\n*S Kotlin\n*F\n+ 1 KotlinSerializers.kt\ncom/fasterxml/jackson/module/kotlin/KotlinSerializersKt\n+ 2 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,107:1\n12474#2,2:108\n*S KotlinDebug\n*F\n+ 1 KotlinSerializers.kt\ncom/fasterxml/jackson/module/kotlin/KotlinSerializersKt\n*L\n51#1:108,2\n*E\n"})
/* loaded from: classes7.dex */
public final class KotlinSerializersKt {
/* JADX INFO: Access modifiers changed from: private */
public static final Method getStaticJsonValueGetter(Class<?> cls) {
Method[] declaredMethods = cls.getDeclaredMethods();
declaredMethods.getClass();
for (Method method : declaredMethods) {
if (Modifier.isStatic(method.getModifiers())) {
Annotation[] annotations = method.getAnnotations();
annotations.getClass();
for (Annotation annotation : annotations) {
if ((annotation instanceof JsonValue) && ((JsonValue) annotation).value()) {
return method;
}
}
}
}
return null;
}
}