apkfuckery/com.discord/smali_classes2/h0/x$e.smali

148 lines
3.3 KiB
Smali
Raw Normal View History

2020-11-16 01:00:50 +00:00
.class public final Lh0/x$e;
.super Lh0/x;
2020-11-12 02:11:44 +00:00
.source "ParameterHandler.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-11-16 01:00:50 +00:00
value = Lh0/x;
2020-11-12 02:11:44 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
2020-11-16 01:00:50 +00:00
name = "e"
2020-11-12 02:11:44 +00:00
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
2020-11-16 01:00:50 +00:00
"Lh0/x<",
2020-11-12 02:11:44 +00:00
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/lang/reflect/Method;
.field public final b:I
.field public final c:Lokhttp3/Headers;
2020-11-16 01:00:50 +00:00
.field public final d:Lh0/h;
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 01:00:50 +00:00
"Lh0/h<",
2020-11-12 02:11:44 +00:00
"TT;",
"Lokhttp3/RequestBody;",
">;"
}
.end annotation
.end field
# direct methods
2020-11-16 01:00:50 +00:00
.method public constructor <init>(Ljava/lang/reflect/Method;ILokhttp3/Headers;Lh0/h;)V
2020-11-12 02:11:44 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Method;",
"I",
"Lokhttp3/Headers;",
2020-11-16 01:00:50 +00:00
"Lh0/h<",
2020-11-12 02:11:44 +00:00
"TT;",
"Lokhttp3/RequestBody;",
">;)V"
}
.end annotation
2020-11-16 01:00:50 +00:00
invoke-direct {p0}, Lh0/x;-><init>()V
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iput-object p1, p0, Lh0/x$e;->a:Ljava/lang/reflect/Method;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iput p2, p0, Lh0/x$e;->b:I
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iput-object p3, p0, Lh0/x$e;->c:Lokhttp3/Headers;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iput-object p4, p0, Lh0/x$e;->d:Lh0/h;
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
2020-11-16 01:00:50 +00:00
.method public a(Lh0/z;Ljava/lang/Object;)V
2020-11-12 02:11:44 +00:00
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-11-16 01:00:50 +00:00
"Lh0/z;",
2020-11-12 02:11:44 +00:00
"TT;)V"
}
.end annotation
if-nez p2, :cond_0
return-void
:cond_0
:try_start_0
2020-11-16 01:00:50 +00:00
iget-object v0, p0, Lh0/x$e;->d:Lh0/h;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-interface {v0, p2}, Lh0/h;->convert(Ljava/lang/Object;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
move-result-object v0
check-cast v0, Lokhttp3/RequestBody;
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
2020-11-16 01:00:50 +00:00
iget-object p2, p0, Lh0/x$e;->c:Lokhttp3/Headers;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-virtual {p1, p2, v0}, Lh0/z;->c(Lokhttp3/Headers;Lokhttp3/RequestBody;)V
2020-11-12 02:11:44 +00:00
return-void
:catch_0
move-exception p1
2020-11-16 01:00:50 +00:00
iget-object v0, p0, Lh0/x$e;->a:Ljava/lang/reflect/Method;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iget v1, p0, Lh0/x$e;->b:I
2020-11-12 02:11:44 +00:00
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Unable to convert "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p2, " to RequestBody"
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
aput-object p1, v2, v3
2020-11-16 01:00:50 +00:00
invoke-static {v0, v1, p2, v2}, Lh0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
2020-11-12 02:11:44 +00:00
move-result-object p1
throw p1
.end method