2020-09-02 04:07:20 +00:00
|
|
|
.class public final Lo0/j;
|
|
|
|
.super Ljava/lang/Object;
|
2020-09-09 19:21:20 +00:00
|
|
|
.source "Challenge.kt"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final a:Ljava/util/Map;
|
2020-09-02 04:07:20 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-09 19:21:20 +00:00
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
2020-09-02 04:07:20 +00:00
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.field public final b:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/util/Map;)V
|
|
|
|
.locals 4
|
2020-09-02 04:07:20 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-09 19:21:20 +00:00
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
2020-09-02 04:07:20 +00:00
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
2020-09-09 19:21:20 +00:00
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;)V"
|
2020-09-02 04:07:20 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const-string v0, "scheme"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const-string v0, "authParams"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {p2, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-object p1, p0, Lo0/j;->b:Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
new-instance p1, Ljava/util/LinkedHashMap;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-direct {p1}, Ljava/util/LinkedHashMap;-><init>()V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-interface {p2}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result-object p2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-interface {p2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result-object p2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-eqz v0, :cond_1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
check-cast v0, Ljava/util/Map$Entry;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result-object v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
check-cast v1, Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
check-cast v0, Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-eqz v1, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const-string v3, "US"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {v2, v3}, Lk0/n/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result-object v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const-string v2, "(this as java.lang.String).toLowerCase(locale)"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {v1, v2}, Lk0/n/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
goto :goto_1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p1, v1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
goto :goto_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:cond_1
|
|
|
|
invoke-static {p1}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result-object p1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const-string p2, "unmodifiableMap<String?, String>(newAuthParams)"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {p1, p2}, Lk0/n/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-object p1, p0, Lo0/j;->a:Ljava/util/Map;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
instance-of v0, p1, Lo0/j;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
check-cast p1, Lo0/j;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v0, p1, Lo0/j;->b:Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v1, p0, Lo0/j;->b:Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object p1, p1, Lo0/j;->a:Ljava/util/Map;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v0, p0, Lo0/j;->a:Ljava/util/Map;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result p1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 p1, 0x1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
goto :goto_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
:goto_0
|
|
|
|
return p1
|
|
|
|
.end method
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.method public hashCode()I
|
|
|
|
.locals 3
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v0, p0, Lo0/j;->b:Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/16 v1, 0x383
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/16 v2, 0x1f
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-static {v0, v1, v2}, Lf/e/b/a/a;->T(Ljava/lang/String;II)I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v1, p0, Lo0/j;->a:Ljava/util/Map;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
add-int/2addr v1, v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
return v1
|
|
|
|
.end method
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v1, p0, Lo0/j;->b:Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const-string v1, " authParams="
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget-object v1, p0, Lo0/j;->a:Ljava/util/Map;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
2020-07-23 01:06:17 +00:00
|
|
|
.end method
|