apkfuckery/com.discord/smali_classes2/e0/l$i.smali

212 lines
5 KiB
Smali
Raw Normal View History

2020-05-11 18:18:42 +00:00
.class public final Le0/l$i;
.super Le0/l;
2019-07-24 11:27:29 +00:00
.source "ParameterHandler.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-05-11 18:18:42 +00:00
value = Le0/l;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
name = "i"
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
2020-05-11 18:18:42 +00:00
"Le0/l<",
2019-07-24 11:27:29 +00:00
"Ljava/util/Map<",
"Ljava/lang/String;",
"TT;>;>;"
}
.end annotation
# instance fields
2020-05-11 18:18:42 +00:00
.field public final a:Le0/e;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-05-11 18:18:42 +00:00
"Le0/e<",
2019-07-24 11:27:29 +00:00
"TT;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final b:Z
2019-10-25 01:57:51 +00:00
2019-07-24 11:27:29 +00:00
# direct methods
2020-05-11 18:18:42 +00:00
.method public constructor <init>(Le0/e;Z)V
2019-07-24 11:27:29 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-05-11 18:18:42 +00:00
"Le0/e<",
2019-07-24 11:27:29 +00:00
"TT;",
"Ljava/lang/String;",
">;Z)V"
}
.end annotation
2020-05-11 18:18:42 +00:00
invoke-direct {p0}, Le0/l;-><init>()V
2019-07-24 11:27:29 +00:00
2020-05-11 18:18:42 +00:00
iput-object p1, p0, Le0/l$i;->a:Le0/e;
2019-07-24 11:27:29 +00:00
2020-05-11 18:18:42 +00:00
iput-boolean p2, p0, Le0/l$i;->b:Z
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2020-05-11 18:18:42 +00:00
.method public a(Le0/n;Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
.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
2020-05-11 18:18:42 +00:00
iget-object v3, p0, Le0/l$i;->a:Le0/e;
2019-07-24 11:27:29 +00:00
2020-05-11 18:18:42 +00:00
invoke-interface {v3, v0}, Le0/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v3
check-cast v3, Ljava/lang/String;
if-eqz v3, :cond_0
2020-05-11 18:18:42 +00:00
iget-boolean v0, p0, Le0/l$i;->b:Z
2019-07-24 11:27:29 +00:00
2020-05-11 18:18:42 +00:00
invoke-virtual {p1, v1, v3, v0}, Le0/n;->b(Ljava/lang/String;Ljava/lang/String;Z)V
2019-07-24 11:27:29 +00:00
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
new-instance p2, Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
2019-07-24 11:27:29 +00:00
const-string v3, "Query map value \'"
2019-12-06 03:29:40 +00:00
invoke-virtual {p2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
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;
2020-05-11 18:18:42 +00:00
iget-object v0, p0, Le0/l$i;->a:Le0/e;
2019-07-24 11:27:29 +00:00
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;
2019-12-06 03:29:40 +00:00
const-string p2, "Query map contained null value for key \'"
2019-07-24 11:27:29 +00:00
2020-05-11 18:18:42 +00:00
invoke-static {p2, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
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