536 lines
14 KiB
Smali
536 lines
14 KiB
Smali
.class public final Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;
|
|
.super Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState;
|
|
.source "WidgetChannelTopicViewModel.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "DM"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final channelId:J
|
|
|
|
.field public final developerModeEnabled:Z
|
|
|
|
.field public final isRightPanelOpened:Z
|
|
|
|
.field public final recipientName:Ljava/lang/String;
|
|
|
|
.field public final recipientNicknames:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/util/Set;JZZ)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;JZZ)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-direct {p0, p6, v0}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState;-><init>(ZLkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientName:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientNicknames:Ljava/util/Set;
|
|
|
|
iput-wide p3, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->channelId:J
|
|
|
|
iput-boolean p5, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->developerModeEnabled:Z
|
|
|
|
iput-boolean p6, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->isRightPanelOpened:Z
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "recipientNicknames"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "recipientName"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Ljava/lang/String;Ljava/util/Set;JZZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 7
|
|
|
|
and-int/lit8 p7, p7, 0x8
|
|
|
|
if-eqz p7, :cond_0
|
|
|
|
const/4 p5, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v5, p5
|
|
|
|
:goto_0
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
move-wide v3, p3
|
|
|
|
move v6, p6
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;-><init>(Ljava/lang/String;Ljava/util/Set;JZZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;Ljava/lang/String;Ljava/util/Set;JZZILjava/lang/Object;)Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;
|
|
.locals 4
|
|
|
|
and-int/lit8 p8, p7, 0x1
|
|
|
|
if-eqz p8, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientName:Ljava/lang/String;
|
|
|
|
:cond_0
|
|
and-int/lit8 p8, p7, 0x2
|
|
|
|
if-eqz p8, :cond_1
|
|
|
|
iget-object p2, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientNicknames:Ljava/util/Set;
|
|
|
|
:cond_1
|
|
move-object p8, p2
|
|
|
|
and-int/lit8 p2, p7, 0x4
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
iget-wide p3, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->channelId:J
|
|
|
|
:cond_2
|
|
move-wide v0, p3
|
|
|
|
and-int/lit8 p2, p7, 0x8
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
iget-boolean p5, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->developerModeEnabled:Z
|
|
|
|
:cond_3
|
|
move v2, p5
|
|
|
|
and-int/lit8 p2, p7, 0x10
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->isRightPanelOpened()Z
|
|
|
|
move-result p6
|
|
|
|
:cond_4
|
|
move v3, p6
|
|
|
|
move-object p2, p0
|
|
|
|
move-object p3, p1
|
|
|
|
move-object p4, p8
|
|
|
|
move-wide p5, v0
|
|
|
|
move p7, v2
|
|
|
|
move p8, v3
|
|
|
|
invoke-virtual/range {p2 .. p8}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->copy(Ljava/lang/String;Ljava/util/Set;JZZ)Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientName:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component2()Ljava/util/Set;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientNicknames:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component3()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->channelId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component4()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->developerModeEnabled:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component5()Z
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->isRightPanelOpened()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final copy(Ljava/lang/String;Ljava/util/Set;JZZ)Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;JZZ)",
|
|
"Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
new-instance v0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
move-wide v4, p3
|
|
|
|
move v6, p5
|
|
|
|
move v7, p6
|
|
|
|
invoke-direct/range {v1 .. v7}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;-><init>(Ljava/lang/String;Ljava/util/Set;JZZ)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p1, "recipientNicknames"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "recipientName"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 5
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientName:Ljava/lang/String;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientName:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientNicknames:Ljava/util/Set;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientNicknames:Ljava/util/Set;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->channelId:J
|
|
|
|
iget-wide v2, p1, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->channelId:J
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->developerModeEnabled:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->developerModeEnabled:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->isRightPanelOpened()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->isRightPanelOpened()Z
|
|
|
|
move-result p1
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final getChannelId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->channelId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getDeveloperModeEnabled()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->developerModeEnabled:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getRecipientName()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientName:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getRecipientNicknames()Ljava/util/Set;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientNicknames:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientName:Ljava/lang/String;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientNicknames:Ljava/util/Set;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_1
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-wide v1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->channelId:J
|
|
|
|
invoke-static {v1, v2}, Ld;->a(J)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->developerModeEnabled:Z
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_2
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->isRightPanelOpened()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
move v2, v1
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isRightPanelOpened()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->isRightPanelOpened:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
const-string v0, "DM(recipientName="
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientName:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", recipientNicknames="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->recipientNicknames:Ljava/util/Set;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", channelId="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->channelId:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", developerModeEnabled="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->developerModeEnabled:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isRightPanelOpened="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel$ViewState$DM;->isRightPanelOpened()Z
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|