apkfuckery/com.discord/smali/b/j$c.smali

226 lines
5.4 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lb/j$c;
.super Lb/j;
2019-02-04 20:29:01 +00:00
.source "ParameterHandler.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb/j;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "c"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lb/j<",
"Ljava/util/Map<",
"Ljava/lang/String;",
"TT;>;>;"
}
.end annotation
# instance fields
2019-03-14 20:04:00 +00:00
.field private final bAt:Lb/e;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lb/e<",
"TT;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
2019-03-14 20:04:00 +00:00
.field private final bAu:Z
2019-02-04 20:08:30 +00:00
# direct methods
.method constructor <init>(Lb/e;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lb/e<",
"TT;",
"Ljava/lang/String;",
">;Z)V"
}
.end annotation
invoke-direct {p0}, Lb/j;-><init>()V
2019-03-14 20:04:00 +00:00
iput-object p1, p0, Lb/j$c;->bAt:Lb/e;
2019-02-04 20:08:30 +00:00
2019-03-14 20:04:00 +00:00
iput-boolean p2, p0, Lb/j$c;->bAu:Z
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
.method final synthetic a(Lb/l;Ljava/lang/Object;)V
.locals 3
.param p2 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.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
if-eqz v0, :cond_1
2019-03-14 20:04:00 +00:00
iget-object v2, p0, Lb/j$c;->bAt:Lb/e;
2019-02-04 20:08:30 +00:00
invoke-interface {v2, v0}, Lb/e;->convert(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
if-eqz v2, :cond_0
2019-03-14 20:04:00 +00:00
iget-boolean v0, p0, Lb/j$c;->bAu:Z
2019-02-04 20:08:30 +00:00
invoke-virtual {p1, v1, v2, v0}, Lb/l;->e(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;
const-string v2, "Field map value \'"
invoke-direct {p2, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
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;
2019-03-14 20:04:00 +00:00
iget-object v0, p0, Lb/j$c;->bAt:Lb/e;
2019-02-04 20:08:30 +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;
const-string v0, "\'."
invoke-virtual {p2, v0}, 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;
new-instance p2, Ljava/lang/StringBuilder;
const-string v0, "Field map contained null value for key \'"
invoke-direct {p2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, "\'."
invoke-virtual {p2, v0}, 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_2
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Field 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, "Field map was null."
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
2019-02-04 20:29:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method