apkfuckery/com.discord/smali_classes2/q0/k$i.smali
2020-07-23 01:06:17 +00:00

211 lines
5 KiB
Smali

.class public final Lq0/k$i;
.super Lq0/k;
.source "ParameterHandler.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lq0/k;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "i"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lq0/k<",
"Ljava/util/Map<",
"Ljava/lang/String;",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final a:Lq0/e;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lq0/e<",
"TT;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public final b:Z
# direct methods
.method public constructor <init>(Lq0/e;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lq0/e<",
"TT;",
"Ljava/lang/String;",
">;Z)V"
}
.end annotation
invoke-direct {p0}, Lq0/k;-><init>()V
iput-object p1, p0, Lq0/k$i;->a:Lq0/e;
iput-boolean p2, p0, Lq0/k$i;->b:Z
return-void
.end method
# virtual methods
.method public a(Lq0/m;Ljava/lang/Object;)V
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
check-cast p2, Ljava/util/Map;
if-eqz p2, :cond_4
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 v0
if-eqz v0, :cond_3
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map$Entry;
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
if-eqz v1, :cond_2
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
const-string v2, "\'."
if-eqz v0, :cond_1
iget-object v3, p0, Lq0/k$i;->a:Lq0/e;
invoke-interface {v3, v0}, Lq0/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/String;
if-eqz v3, :cond_0
iget-boolean v0, p0, Lq0/k$i;->b:Z
invoke-virtual {p1, v1, v3, v0}, Lq0/m;->d(Ljava/lang/String;Ljava/lang/String;Z)V
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Query map value \'"
invoke-virtual {p2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v0, "\' converted to null by "
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v0, p0, Lq0/k$i;->a:Lq0/e;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, " for key \'"
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Query map contained null value for key \'"
invoke-static {p2, v1, v2}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Query map contained null key."
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_3
return-void
:cond_4
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Query map was null."
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method