apkfuckery/com.discord/smali_classes2/h0/u.smali

91 lines
1.9 KiB
Smali
Raw Normal View History

2020-11-16 01:00:50 +00:00
.class public final Lh0/u;
.super Lh0/h$a;
2020-11-13 19:18:44 +00:00
.source "OptionalConverterFactory.java"
2020-11-12 02:11:44 +00:00
# annotations
2020-11-13 19:18:44 +00:00
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-11-16 01:00:50 +00:00
Lh0/u$a;
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-13 19:18:44 +00:00
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
# static fields
2020-11-16 01:00:50 +00:00
.field public static final a:Lh0/h$a;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-13 19:18:44 +00:00
.method public static constructor <clinit>()V
.locals 1
2020-11-16 01:00:50 +00:00
new-instance v0, Lh0/u;
2020-11-13 19:18:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-direct {v0}, Lh0/u;-><init>()V
2020-11-13 19:18:44 +00:00
2020-11-16 01:00:50 +00:00
sput-object v0, Lh0/u;->a:Lh0/h$a;
2020-11-13 19:18:44 +00:00
return-void
.end method
.method public constructor <init>()V
2020-11-12 02:11:44 +00:00
.locals 0
2020-11-16 01:00:50 +00:00
invoke-direct {p0}, Lh0/h$a;-><init>()V
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
2020-11-16 01:00:50 +00:00
.method public responseBodyConverter(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lh0/d0;)Lh0/h;
2020-11-13 19:18:44 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
2020-11-16 01:00:50 +00:00
"Lh0/d0;",
2020-11-13 19:18:44 +00:00
")",
2020-11-16 01:00:50 +00:00
"Lh0/h<",
2020-11-13 19:18:44 +00:00
"Lokhttp3/ResponseBody;",
"*>;"
}
.end annotation
2020-11-16 01:00:50 +00:00
invoke-static {p1}, Lh0/h$a;->getRawType(Ljava/lang/reflect/Type;)Ljava/lang/Class;
2020-11-13 19:18:44 +00:00
move-result-object v0
const-class v1, Ljava/util/Optional;
if-eq v0, v1, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const/4 p1, 0x0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return-object p1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
:cond_0
const/4 v0, 0x0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast p1, Ljava/lang/reflect/ParameterizedType;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-static {v0, p1}, Lh0/h$a;->getParameterUpperBound(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object p1
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-virtual {p3, p1, p2}, Lh0/d0;->d(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lh0/h;
2020-11-12 02:11:44 +00:00
move-result-object p1
2020-11-16 01:00:50 +00:00
new-instance p2, Lh0/u$a;
2020-11-13 19:18:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-direct {p2, p1}, Lh0/u$a;-><init>(Lh0/h;)V
2020-11-13 19:18:44 +00:00
return-object p2
2020-11-12 02:11:44 +00:00
.end method