2020-02-06 22:18:40 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreExperiments$getNameToExperimentMap$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "StoreExperiments.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-02-20 19:33:18 +00:00
|
|
|
.implements Le0/l/i;
|
2020-02-06 22:18:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/stores/StoreExperiments;->getNameToExperimentMap$app_productionDiscordExternalRelease()Lrx/Observable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
2020-02-20 19:33:18 +00:00
|
|
|
"Le0/l/i<",
|
2020-02-06 22:18:40 +00:00
|
|
|
"TR;TR;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
# static fields
|
|
|
|
.field public static final INSTANCE:Lcom/discord/stores/StoreExperiments$getNameToExperimentMap$1;
|
2020-02-06 22:18:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-02-20 19:33:18 +00:00
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/stores/StoreExperiments$getNameToExperimentMap$1;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/stores/StoreExperiments$getNameToExperimentMap$1;-><init>()V
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
sput-object v0, Lcom/discord/stores/StoreExperiments$getNameToExperimentMap$1;->INSTANCE:Lcom/discord/stores/StoreExperiments$getNameToExperimentMap$1;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
2020-02-06 22:18:40 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreExperiments$getNameToExperimentMap$1;->call(Ljava/util/HashMap;)Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final call(Ljava/util/HashMap;)Ljava/util/Map;
|
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/HashMap<",
|
|
|
|
"Ljava/lang/Long;",
|
2020-02-20 19:33:18 +00:00
|
|
|
"Lcom/discord/stores/StoreExperiments$Experiment;",
|
2020-02-06 22:18:40 +00:00
|
|
|
">;)",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
2020-02-20 19:33:18 +00:00
|
|
|
"Lcom/discord/stores/StoreExperiments$Experiment;",
|
2020-02-06 22:18:40 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-virtual {p1}, Ljava/util/HashMap;->values()Ljava/util/Collection;
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
move-result-object p1
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const-string v0, "experimentsMap\n .values"
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
2020-02-06 22:18:40 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
:cond_0
|
2020-02-06 22:18:40 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_3
|
2020-02-06 22:18:40 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
move-object v3, v1
|
|
|
|
|
|
|
|
check-cast v3, Lcom/discord/stores/StoreExperiments$Experiment;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Lcom/discord/stores/StoreExperiments$Experiment;->getDisplayName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
invoke-static {v3}, Lw/a0/p;->isBlank(Ljava/lang/CharSequence;)Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/16 p1, 0xa
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Le/k/a/c/e/p/g;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
move-result p1
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/q/l;->mapCapacity(I)I
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
move-result p1
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const/16 v1, 0x10
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
if-ge p1, v1, :cond_4
|
|
|
|
|
|
|
|
const/16 p1, 0x10
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-instance v1, Ljava/util/LinkedHashMap;
|
|
|
|
|
|
|
|
invoke-direct {v1, p1}, Ljava/util/LinkedHashMap;-><init>(I)V
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
|
|
|
check-cast v3, Lcom/discord/stores/StoreExperiments$Experiment;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Lcom/discord/stores/StoreExperiments$Experiment;->getDisplayName()Ljava/lang/String;
|
2020-02-06 22:18:40 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
if-eqz v3, :cond_5
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-interface {v1, v3, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
goto :goto_2
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
:cond_5
|
|
|
|
invoke-static {}, Lw/u/b/j;->throwNpe()V
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
const/4 p1, 0x0
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
throw p1
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
:cond_6
|
|
|
|
invoke-interface {v1}, Ljava/util/Map;->size()I
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
move-result p1
|
2020-02-06 22:18:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
if-eqz p1, :cond_8
|
|
|
|
|
|
|
|
if-eq p1, v2, :cond_7
|
|
|
|
|
|
|
|
invoke-static {v1}, Lw/q/l;->toMutableMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-static {v1}, Le/k/a/c/e/p/g;->toSingletonMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
invoke-static {}, Lw/q/l;->emptyMap()Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
return-object p1
|
2020-02-06 22:18:40 +00:00
|
|
|
.end method
|