2019-12-06 03:29:40 +00:00
|
|
|
.class public final Lcom/discord/utilities/surveys/SurveyUtils$getUserSurvey$2;
|
2019-07-27 02:12:09 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "SurveyUtils.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2019-12-21 01:41:59 +00:00
|
|
|
.implements Lb0/l/i;
|
2019-07-27 02:12:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2019-07-30 23:07:33 +00:00
|
|
|
value = Lcom/discord/utilities/surveys/SurveyUtils;->getUserSurvey(Lcom/discord/models/domain/ModelUser;)Lrx/Observable;
|
2019-07-27 02:12:09 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x19
|
2019-07-27 02:12:09 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
2019-12-21 01:41:59 +00:00
|
|
|
"Lb0/l/i<",
|
2019-07-27 02:12:09 +00:00
|
|
|
"TT;TR;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic $meUser:Lcom/discord/models/domain/ModelUser;
|
2019-07-27 02:12:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/models/domain/ModelUser;)V
|
2019-07-27 02:12:09 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-07-30 23:07:33 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/utilities/surveys/SurveyUtils$getUserSurvey$2;->$meUser:Lcom/discord/models/domain/ModelUser;
|
2019-07-27 02:12:09 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public final call(Ljava/lang/Boolean;)Lcom/discord/utilities/surveys/SurveyUtils$Survey;
|
2019-07-30 23:07:33 +00:00
|
|
|
.locals 1
|
2019-07-27 02:12:09 +00:00
|
|
|
|
|
|
|
const-string v0, "isInExperiment"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1, v0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-27 02:12:09 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
new-instance p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$HypesquadSurvey;
|
|
|
|
|
2019-07-30 23:07:33 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/utilities/surveys/SurveyUtils$getUserSurvey$2;->$meUser:Lcom/discord/models/domain/ModelUser;
|
2019-07-27 02:12:09 +00:00
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$HypesquadSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-07-27 02:12:09 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$None;->INSTANCE:Lcom/discord/utilities/surveys/SurveyUtils$Survey$None;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2019-07-27 02:12:09 +00:00
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-07-27 02:12:09 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Boolean;
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/surveys/SurveyUtils$getUserSurvey$2;->call(Ljava/lang/Boolean;)Lcom/discord/utilities/surveys/SurveyUtils$Survey;
|
2019-07-27 02:12:09 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|