267 lines
6 KiB
Smali
267 lines
6 KiB
Smali
.class public final Lcom/discord/models/application/Unread$Marker;
|
|
.super Ljava/lang/Object;
|
|
.source "Unread.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/models/application/Unread;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Marker"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final channelId:J
|
|
|
|
.field private final messageId:Ljava/lang/Long;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 3
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {p0, v0, v1, v2}, Lcom/discord/models/application/Unread$Marker;-><init>(JLjava/lang/Long;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(JJLjava/lang/Long;)V
|
|
.locals 2
|
|
|
|
if-eqz p5, :cond_1
|
|
|
|
invoke-virtual {p5}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v0
|
|
|
|
cmp-long p5, v0, p3
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p3, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
invoke-static {p3, p4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p3
|
|
|
|
:goto_1
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/discord/models/application/Unread$Marker;-><init>(JLjava/lang/Long;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(JLjava/lang/Long;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-wide p1, p0, Lcom/discord/models/application/Unread$Marker;->channelId:J
|
|
|
|
iput-object p3, p0, Lcom/discord/models/application/Unread$Marker;->messageId:Ljava/lang/Long;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/models/application/Unread$Marker;JLjava/lang/Long;ILjava/lang/Object;)Lcom/discord/models/application/Unread$Marker;
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p4, 0x1
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
iget-wide p1, p0, Lcom/discord/models/application/Unread$Marker;->channelId:J
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x2
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
iget-object p3, p0, Lcom/discord/models/application/Unread$Marker;->messageId:Ljava/lang/Long;
|
|
|
|
:cond_1
|
|
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/models/application/Unread$Marker;->copy(JLjava/lang/Long;)Lcom/discord/models/application/Unread$Marker;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/application/Unread$Marker;->channelId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component2()Ljava/lang/Long;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/models/application/Unread$Marker;->messageId:Ljava/lang/Long;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(JLjava/lang/Long;)Lcom/discord/models/application/Unread$Marker;
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/models/application/Unread$Marker;
|
|
|
|
invoke-direct {v0, p1, p2, p3}, Lcom/discord/models/application/Unread$Marker;-><init>(JLjava/lang/Long;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 7
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p0, p1, :cond_2
|
|
|
|
instance-of v1, p1, Lcom/discord/models/application/Unread$Marker;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
check-cast p1, Lcom/discord/models/application/Unread$Marker;
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/application/Unread$Marker;->channelId:J
|
|
|
|
iget-wide v5, p1, Lcom/discord/models/application/Unread$Marker;->channelId:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-object v1, p0, Lcom/discord/models/application/Unread$Marker;->messageId:Ljava/lang/Long;
|
|
|
|
iget-object p1, p1, Lcom/discord/models/application/Unread$Marker;->messageId:Ljava/lang/Long;
|
|
|
|
invoke-static {v1, p1}, Lkotlin/jvm/internal/k;->n(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
return v2
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getChannelId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/application/Unread$Marker;->channelId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getMessageId()Ljava/lang/Long;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/models/application/Unread$Marker;->messageId:Ljava/lang/Long;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 4
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/application/Unread$Marker;->channelId:J
|
|
|
|
const/16 v2, 0x20
|
|
|
|
ushr-long v2, v0, v2
|
|
|
|
xor-long/2addr v0, v2
|
|
|
|
long-to-int v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-object v0, p0, Lcom/discord/models/application/Unread$Marker;->messageId:Ljava/lang/Long;
|
|
|
|
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
|
|
add-int/2addr v1, v0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Marker(channelId="
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/application/Unread$Marker;->channelId:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", messageId="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/models/application/Unread$Marker;->messageId:Ljava/lang/Long;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)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
|