apkfuckery/com.discord/smali_classes2/com/discord/widgets/settings/WidgetSettingsDeveloper$set...

137 lines
3.7 KiB
Smali

.class public final Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupExperimentSection$1;
.super Ljava/lang/Object;
.source "WidgetSettingsDeveloper.kt"
# interfaces
.implements Ls0/k/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/settings/WidgetSettingsDeveloper;->setupExperimentSection()V
.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;",
"Ls0/k/b<",
"TT;TR;>;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupExperimentSection$1;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupExperimentSection$1;
invoke-direct {v0}, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupExperimentSection$1;-><init>()V
sput-object v0, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupExperimentSection$1;->INSTANCE:Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupExperimentSection$1;
return-void
.end method
.method public constructor <init>()V
.locals 0
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/Map;
invoke-virtual {p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupExperimentSection$1;->call(Ljava/util/Map;)Ljava/util/List;
move-result-object p1
return-object p1
.end method
.method public final call(Ljava/util/Map;)Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Lcom/discord/stores/StoreExperiments$Experiment;",
">;)",
"Ljava/util/List<",
"Ljava/util/Map$Entry<",
"Ljava/lang/String;",
"Lcom/discord/stores/StoreExperiments$Experiment;",
">;>;"
}
.end annotation
const-string v0, "nameToExp"
invoke-static {p1, v0}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p1}, Ljava/util/Map;->size()I
move-result v1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p1
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/util/Map$Entry;
invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
new-instance p1, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupExperimentSection$1$$special$$inlined$sortedBy$1;
invoke-direct {p1}, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupExperimentSection$1$$special$$inlined$sortedBy$1;-><init>()V
invoke-static {v0, p1}, Lk0/i/l;->sortedWith(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/util/List;
move-result-object p1
return-object p1
.end method