500 lines
12 KiB
Smali
500 lines
12 KiB
Smali
|
.class public final Lcom/discord/models/store/dto/ModelStoreAsset;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ModelStoreAsset.kt"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final filename:Ljava/lang/String;
|
||
|
|
||
|
.field public final height:Ljava/lang/Integer;
|
||
|
|
||
|
.field public final id:J
|
||
|
|
||
|
.field public final mimeType:Ljava/lang/String;
|
||
|
|
||
|
.field public final size:I
|
||
|
|
||
|
.field public final width:Ljava/lang/Integer;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(JILjava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "mimeType"
|
||
|
|
||
|
invoke-static {p4, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-wide p1, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->id:J
|
||
|
|
||
|
iput p3, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->size:I
|
||
|
|
||
|
iput-object p4, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->mimeType:Ljava/lang/String;
|
||
|
|
||
|
iput-object p5, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->filename:Ljava/lang/String;
|
||
|
|
||
|
iput-object p6, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->width:Ljava/lang/Integer;
|
||
|
|
||
|
iput-object p7, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->height:Ljava/lang/Integer;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic copy$default(Lcom/discord/models/store/dto/ModelStoreAsset;JILjava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ILjava/lang/Object;)Lcom/discord/models/store/dto/ModelStoreAsset;
|
||
|
.locals 8
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
and-int/lit8 v1, p8, 0x1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
iget-wide v1, v0, Lcom/discord/models/store/dto/ModelStoreAsset;->id:J
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
move-wide v1, p1
|
||
|
|
||
|
:goto_0
|
||
|
and-int/lit8 v3, p8, 0x2
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
iget v3, v0, Lcom/discord/models/store/dto/ModelStoreAsset;->size:I
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
move v3, p3
|
||
|
|
||
|
:goto_1
|
||
|
and-int/lit8 v4, p8, 0x4
|
||
|
|
||
|
if-eqz v4, :cond_2
|
||
|
|
||
|
iget-object v4, v0, Lcom/discord/models/store/dto/ModelStoreAsset;->mimeType:Ljava/lang/String;
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_2
|
||
|
move-object v4, p4
|
||
|
|
||
|
:goto_2
|
||
|
and-int/lit8 v5, p8, 0x8
|
||
|
|
||
|
if-eqz v5, :cond_3
|
||
|
|
||
|
iget-object v5, v0, Lcom/discord/models/store/dto/ModelStoreAsset;->filename:Ljava/lang/String;
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_3
|
||
|
move-object v5, p5
|
||
|
|
||
|
:goto_3
|
||
|
and-int/lit8 v6, p8, 0x10
|
||
|
|
||
|
if-eqz v6, :cond_4
|
||
|
|
||
|
iget-object v6, v0, Lcom/discord/models/store/dto/ModelStoreAsset;->width:Ljava/lang/Integer;
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_4
|
||
|
move-object v6, p6
|
||
|
|
||
|
:goto_4
|
||
|
and-int/lit8 v7, p8, 0x20
|
||
|
|
||
|
if-eqz v7, :cond_5
|
||
|
|
||
|
iget-object v7, v0, Lcom/discord/models/store/dto/ModelStoreAsset;->height:Ljava/lang/Integer;
|
||
|
|
||
|
goto :goto_5
|
||
|
|
||
|
:cond_5
|
||
|
move-object v7, p7
|
||
|
|
||
|
:goto_5
|
||
|
move-wide p1, v1
|
||
|
|
||
|
move p3, v3
|
||
|
|
||
|
move-object p4, v4
|
||
|
|
||
|
move-object p5, v5
|
||
|
|
||
|
move-object p6, v6
|
||
|
|
||
|
move-object p7, v7
|
||
|
|
||
|
invoke-virtual/range {p0 .. p7}, Lcom/discord/models/store/dto/ModelStoreAsset;->copy(JILjava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;)Lcom/discord/models/store/dto/ModelStoreAsset;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final component1()J
|
||
|
.locals 2
|
||
|
|
||
|
iget-wide v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->id:J
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public final component2()I
|
||
|
.locals 1
|
||
|
|
||
|
iget v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->size:I
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final component3()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->mimeType:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final component4()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->filename:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final component5()Ljava/lang/Integer;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->width:Ljava/lang/Integer;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final component6()Ljava/lang/Integer;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->height:Ljava/lang/Integer;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final copy(JILjava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;)Lcom/discord/models/store/dto/ModelStoreAsset;
|
||
|
.locals 9
|
||
|
|
||
|
const-string v0, "mimeType"
|
||
|
|
||
|
move-object v5, p4
|
||
|
|
||
|
invoke-static {p4, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
new-instance v0, Lcom/discord/models/store/dto/ModelStoreAsset;
|
||
|
|
||
|
move-object v1, v0
|
||
|
|
||
|
move-wide v2, p1
|
||
|
|
||
|
move v4, p3
|
||
|
|
||
|
move-object v6, p5
|
||
|
|
||
|
move-object v7, p6
|
||
|
|
||
|
move-object/from16 v8, p7
|
||
|
|
||
|
invoke-direct/range {v1 .. v8}, Lcom/discord/models/store/dto/ModelStoreAsset;-><init>(JILjava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public equals(Ljava/lang/Object;)Z
|
||
|
.locals 5
|
||
|
|
||
|
if-eq p0, p1, :cond_1
|
||
|
|
||
|
instance-of v0, p1, Lcom/discord/models/store/dto/ModelStoreAsset;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p1, Lcom/discord/models/store/dto/ModelStoreAsset;
|
||
|
|
||
|
iget-wide v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->id:J
|
||
|
|
||
|
iget-wide v2, p1, Lcom/discord/models/store/dto/ModelStoreAsset;->id:J
|
||
|
|
||
|
cmp-long v4, v0, v2
|
||
|
|
||
|
if-nez v4, :cond_0
|
||
|
|
||
|
iget v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->size:I
|
||
|
|
||
|
iget v1, p1, Lcom/discord/models/store/dto/ModelStoreAsset;->size:I
|
||
|
|
||
|
if-ne v0, v1, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->mimeType:Ljava/lang/String;
|
||
|
|
||
|
iget-object v1, p1, Lcom/discord/models/store/dto/ModelStoreAsset;->mimeType:Ljava/lang/String;
|
||
|
|
||
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->filename:Ljava/lang/String;
|
||
|
|
||
|
iget-object v1, p1, Lcom/discord/models/store/dto/ModelStoreAsset;->filename:Ljava/lang/String;
|
||
|
|
||
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->width:Ljava/lang/Integer;
|
||
|
|
||
|
iget-object v1, p1, Lcom/discord/models/store/dto/ModelStoreAsset;->width:Ljava/lang/Integer;
|
||
|
|
||
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->height:Ljava/lang/Integer;
|
||
|
|
||
|
iget-object p1, p1, Lcom/discord/models/store/dto/ModelStoreAsset;->height:Ljava/lang/Integer;
|
||
|
|
||
|
invoke-static {v0, p1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz 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 getFilename()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->filename:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getHeight()Ljava/lang/Integer;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->height:Ljava/lang/Integer;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getId()J
|
||
|
.locals 2
|
||
|
|
||
|
iget-wide v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->id:J
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getMimeType()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->mimeType:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getSize()I
|
||
|
.locals 1
|
||
|
|
||
|
iget v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->size:I
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getWidth()Ljava/lang/Integer;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->width:Ljava/lang/Integer;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashCode()I
|
||
|
.locals 4
|
||
|
|
||
|
iget-wide v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->id: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 v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->size:I
|
||
|
|
||
|
add-int/2addr v1, v0
|
||
|
|
||
|
mul-int/lit8 v1, v1, 0x1f
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->mimeType:Ljava/lang/String;
|
||
|
|
||
|
const/4 v2, 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
|
||
|
add-int/2addr v1, v0
|
||
|
|
||
|
mul-int/lit8 v1, v1, 0x1f
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->filename:Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_1
|
||
|
add-int/2addr v1, v0
|
||
|
|
||
|
mul-int/lit8 v1, v1, 0x1f
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->width:Ljava/lang/Integer;
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_2
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_2
|
||
|
add-int/2addr v1, v0
|
||
|
|
||
|
mul-int/lit8 v1, v1, 0x1f
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->height:Ljava/lang/Integer;
|
||
|
|
||
|
if-eqz v0, :cond_3
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
:cond_3
|
||
|
add-int/2addr v1, v2
|
||
|
|
||
|
return v1
|
||
|
.end method
|
||
|
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "ModelStoreAsset(id="
|
||
|
|
||
|
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-wide v1, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->id:J
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ", size="
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget v1, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->size:I
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ", mimeType="
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->mimeType:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ", filename="
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->filename:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ", width="
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->width:Ljava/lang/Integer;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ", height="
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lcom/discord/models/store/dto/ModelStoreAsset;->height:Ljava/lang/Integer;
|
||
|
|
||
|
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
|