apkfuckery/com.discord/smali_classes2/g0/v$e.smali

189 lines
4.1 KiB
Smali
Raw Normal View History

2020-11-16 22:05:17 +00:00
.class public final Lg0/v$e;
.super Lg0/v;
2020-11-12 02:11:44 +00:00
.source "ParameterHandler.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-11-16 22:05:17 +00:00
value = Lg0/v;
2020-11-12 02:11:44 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
2020-11-16 22:05:17 +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 22:05:17 +00:00
"Lg0/v<",
2020-11-12 02:11:44 +00:00
"Ljava/util/Map<",
"Ljava/lang/String;",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/lang/reflect/Method;
.field public final b:I
2020-11-16 22:05:17 +00:00
.field public final c:Lg0/h;
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 22:05:17 +00:00
"Lg0/h<",
2020-11-12 02:11:44 +00:00
"TT;",
2020-11-16 22:05:17 +00:00
"Ljava/lang/String;",
2020-11-12 02:11:44 +00:00
">;"
}
.end annotation
.end field
# direct methods
2020-11-16 22:05:17 +00:00
.method public constructor <init>(Ljava/lang/reflect/Method;ILg0/h;)V
2020-11-12 02:11:44 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Method;",
"I",
2020-11-16 22:05:17 +00:00
"Lg0/h<",
2020-11-12 02:11:44 +00:00
"TT;",
"Ljava/lang/String;",
2020-11-16 22:05:17 +00:00
">;)V"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
invoke-direct {p0}, Lg0/v;-><init>()V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p1, p0, Lg0/v$e;->a:Ljava/lang/reflect/Method;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput p2, p0, Lg0/v$e;->b:I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p3, p0, Lg0/v$e;->c:Lg0/h;
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
2020-11-16 22:05:17 +00:00
.method public a(Lg0/x;Ljava/lang/Object;)V
.locals 4
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
check-cast p2, Ljava/util/Map;
const/4 v0, 0x0
if-eqz p2, :cond_3
invoke-interface {p2}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p2
invoke-interface {p2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p2
:goto_0
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_2
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/util/Map$Entry;
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
if-eqz v2, :cond_1
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v1
if-eqz v1, :cond_0
2020-11-16 22:05:17 +00:00
iget-object v3, p0, Lg0/v$e;->c:Lg0/h;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {v3, v1}, Lg0/h;->convert(Ljava/lang/Object;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
move-result-object v1
2020-11-16 22:05:17 +00:00
check-cast v1, Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {p1, v2, v1}, Lg0/x;->b(Ljava/lang/String;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
goto :goto_0
:cond_0
2020-11-16 22:05:17 +00:00
iget-object p1, p0, Lg0/v$e;->a:Ljava/lang/reflect/Method;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget p2, p0, Lg0/v$e;->b:I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v1, "Header map contained null value for key \'"
2020-11-12 02:11:44 +00:00
const-string v3, "\'."
2020-11-16 22:05:17 +00:00
invoke-static {v1, v2, v3}, Lf/e/c/a/a;->s(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-11-12 02:11:44 +00:00
move-result-object v1
new-array v0, v0, [Ljava/lang/Object;
2020-11-16 22:05:17 +00:00
invoke-static {p1, p2, v1, v0}, Lg0/f0;->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
:cond_1
2020-11-16 22:05:17 +00:00
iget-object p1, p0, Lg0/v$e;->a:Ljava/lang/reflect/Method;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget p2, p0, Lg0/v$e;->b:I
2020-11-12 02:11:44 +00:00
new-array v0, v0, [Ljava/lang/Object;
2020-11-16 22:05:17 +00:00
const-string v1, "Header map contained null key."
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, p2, v1, v0}, Lg0/f0;->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
:cond_2
return-void
:cond_3
2020-11-16 22:05:17 +00:00
iget-object p1, p0, Lg0/v$e;->a:Ljava/lang/reflect/Method;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget p2, p0, Lg0/v$e;->b:I
2020-11-12 02:11:44 +00:00
new-array v0, v0, [Ljava/lang/Object;
2020-11-16 22:05:17 +00:00
const-string v1, "Header map was null."
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, p2, v1, v0}, Lg0/f0;->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