123 lines
3.3 KiB
Smali
123 lines
3.3 KiB
Smali
.class public final Lcom/discord/stores/StoreExperiments$getExperiment$2;
|
|
.super Ljava/lang/Object;
|
|
.source "StoreExperiments.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Func2;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreExperiments;->getExperiment(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Lrx/Observable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T1:",
|
|
"Ljava/lang/Object;",
|
|
"T2:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/functions/Func2<",
|
|
"Lcom/discord/stores/StoreExperiments$Experiment;",
|
|
"Lcom/discord/stores/StoreExperiments$Experiment;",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/discord/stores/StoreExperiments$getExperiment$2;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/stores/StoreExperiments$getExperiment$2;
|
|
|
|
invoke-direct {v0}, Lcom/discord/stores/StoreExperiments$getExperiment$2;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/stores/StoreExperiments$getExperiment$2;->INSTANCE:Lcom/discord/stores/StoreExperiments$getExperiment$2;
|
|
|
|
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;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Lcom/discord/stores/StoreExperiments$Experiment;
|
|
|
|
check-cast p2, Lcom/discord/stores/StoreExperiments$Experiment;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/discord/stores/StoreExperiments$getExperiment$2;->call(Lcom/discord/stores/StoreExperiments$Experiment;Lcom/discord/stores/StoreExperiments$Experiment;)Z
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final call(Lcom/discord/stores/StoreExperiments$Experiment;Lcom/discord/stores/StoreExperiments$Experiment;)Z
|
|
.locals 2
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreExperiments$Experiment;->getRawExperiment()Lcom/discord/models/domain/ModelExperiment;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2}, Lcom/discord/stores/StoreExperiments$Experiment;->getRawExperiment()Lcom/discord/models/domain/ModelExperiment;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreExperiments$Experiment;->getOverrideBucket()Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2}, Lcom/discord/stores/StoreExperiments$Experiment;->getOverrideBucket()Ljava/lang/Integer;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p1, p2}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|