247 lines
5.9 KiB
Smali
247 lines
5.9 KiB
Smali
.class public final Lg0/v$k;
|
|
.super Lg0/v;
|
|
.source "ParameterHandler.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lg0/v;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "k"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lg0/v<",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"TT;>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/lang/reflect/Method;
|
|
|
|
.field public final b:I
|
|
|
|
.field public final c:Lg0/h;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lg0/h<",
|
|
"TT;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/reflect/Method;ILg0/h;Z)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/reflect/Method;",
|
|
"I",
|
|
"Lg0/h<",
|
|
"TT;",
|
|
"Ljava/lang/String;",
|
|
">;Z)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lg0/v;-><init>()V
|
|
|
|
iput-object p1, p0, Lg0/v$k;->a:Ljava/lang/reflect/Method;
|
|
|
|
iput p2, p0, Lg0/v$k;->b:I
|
|
|
|
iput-object p3, p0, Lg0/v$k;->c:Lg0/h;
|
|
|
|
iput-boolean p4, p0, Lg0/v$k;->d:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lg0/x;Ljava/lang/Object;)V
|
|
.locals 6
|
|
.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_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 v1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
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_2
|
|
|
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v3, "\'."
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-object v4, p0, Lg0/v$k;->c:Lg0/h;
|
|
|
|
invoke-interface {v4, v1}, Lg0/h;->convert(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
iget-boolean v1, p0, Lg0/v$k;->d:Z
|
|
|
|
invoke-virtual {p1, v2, v4, v1}, Lg0/x;->d(Ljava/lang/String;Ljava/lang/String;Z)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lg0/v$k;->a:Ljava/lang/reflect/Method;
|
|
|
|
iget p2, p0, Lg0/v$k;->b:I
|
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v5, "Query map value \'"
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "\' converted to null by "
|
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lg0/v$k;->c:Lg0/h;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, " for key \'"
|
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
invoke-static {p1, p2, v1, v0}, Lg0/f0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lg0/v$k;->a:Ljava/lang/reflect/Method;
|
|
|
|
iget p2, p0, Lg0/v$k;->b:I
|
|
|
|
const-string v1, "Query map contained null value for key \'"
|
|
|
|
invoke-static {v1, v2, v3}, Lf/e/c/a/a;->s(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
invoke-static {p1, p2, v1, v0}, Lg0/f0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
iget-object p1, p0, Lg0/v$k;->a:Ljava/lang/reflect/Method;
|
|
|
|
iget p2, p0, Lg0/v$k;->b:I
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
const-string v1, "Query map contained null key."
|
|
|
|
invoke-static {p1, p2, v1, v0}, Lg0/f0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_3
|
|
return-void
|
|
|
|
:cond_4
|
|
iget-object p1, p0, Lg0/v$k;->a:Ljava/lang/reflect/Method;
|
|
|
|
iget p2, p0, Lg0/v$k;->b:I
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
const-string v1, "Query map was null"
|
|
|
|
invoke-static {p1, p2, v1, v0}, Lg0/f0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
.end method
|