614 lines
15 KiB
Smali
614 lines
15 KiB
Smali
.class public final Lcom/discord/utilities/analytics/Traits$Location;
|
|
.super Ljava/lang/Object;
|
|
.source "Traits.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/utilities/analytics/Traits;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Location"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final _object:Ljava/lang/String;
|
|
|
|
.field private final objectType:Ljava/lang/String;
|
|
|
|
.field private final page:Ljava/lang/String;
|
|
|
|
.field private final promotionId:Ljava/lang/Integer;
|
|
|
|
.field private final section:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 8
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/16 v6, 0x1f
|
|
|
|
const/4 v7, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-direct/range {v0 .. v7}, Lcom/discord/utilities/analytics/Traits$Location;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/analytics/Traits$Location;->page:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/discord/utilities/analytics/Traits$Location;->section:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lcom/discord/utilities/analytics/Traits$Location;->_object:Ljava/lang/String;
|
|
|
|
iput-object p4, p0, Lcom/discord/utilities/analytics/Traits$Location;->objectType:Ljava/lang/String;
|
|
|
|
iput-object p5, p0, Lcom/discord/utilities/analytics/Traits$Location;->promotionId:Ljava/lang/Integer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 4
|
|
|
|
and-int/lit8 p7, p6, 0x1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p7, :cond_0
|
|
|
|
move-object p7, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object p7, p1
|
|
|
|
:goto_0
|
|
and-int/lit8 p1, p6, 0x2
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
move-object v1, v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object v1, p2
|
|
|
|
:goto_1
|
|
and-int/lit8 p1, p6, 0x4
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
move-object v2, v0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object v2, p3
|
|
|
|
:goto_2
|
|
and-int/lit8 p1, p6, 0x8
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
move-object v3, v0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move-object v3, p4
|
|
|
|
:goto_3
|
|
and-int/lit8 p1, p6, 0x10
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
move-object p6, v0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move-object p6, p5
|
|
|
|
:goto_4
|
|
move-object p1, p0
|
|
|
|
move-object p2, p7
|
|
|
|
move-object p3, v1
|
|
|
|
move-object p4, v2
|
|
|
|
move-object p5, v3
|
|
|
|
invoke-direct/range {p1 .. p6}, Lcom/discord/utilities/analytics/Traits$Location;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/utilities/analytics/Traits$Location;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Lcom/discord/utilities/analytics/Traits$Location;
|
|
.locals 3
|
|
|
|
and-int/lit8 p7, p6, 0x1
|
|
|
|
if-eqz p7, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/discord/utilities/analytics/Traits$Location;->page:Ljava/lang/String;
|
|
|
|
:cond_0
|
|
and-int/lit8 p7, p6, 0x2
|
|
|
|
if-eqz p7, :cond_1
|
|
|
|
iget-object p2, p0, Lcom/discord/utilities/analytics/Traits$Location;->section:Ljava/lang/String;
|
|
|
|
:cond_1
|
|
move-object p7, p2
|
|
|
|
and-int/lit8 p2, p6, 0x4
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
iget-object p3, p0, Lcom/discord/utilities/analytics/Traits$Location;->_object:Ljava/lang/String;
|
|
|
|
:cond_2
|
|
move-object v0, p3
|
|
|
|
and-int/lit8 p2, p6, 0x8
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
iget-object p4, p0, Lcom/discord/utilities/analytics/Traits$Location;->objectType:Ljava/lang/String;
|
|
|
|
:cond_3
|
|
move-object v1, p4
|
|
|
|
and-int/lit8 p2, p6, 0x10
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
iget-object p5, p0, Lcom/discord/utilities/analytics/Traits$Location;->promotionId:Ljava/lang/Integer;
|
|
|
|
:cond_4
|
|
move-object v2, p5
|
|
|
|
move-object p2, p0
|
|
|
|
move-object p3, p1
|
|
|
|
move-object p4, p7
|
|
|
|
move-object p5, v0
|
|
|
|
move-object p6, v1
|
|
|
|
move-object p7, v2
|
|
|
|
invoke-virtual/range {p2 .. p7}, Lcom/discord/utilities/analytics/Traits$Location;->copy(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)Lcom/discord/utilities/analytics/Traits$Location;
|
|
|
|
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/utilities/analytics/Traits$Location;->page:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component2()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->section:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component3()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->_object:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component4()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->objectType:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component5()Ljava/lang/Integer;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->promotionId:Ljava/lang/Integer;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)Lcom/discord/utilities/analytics/Traits$Location;
|
|
.locals 7
|
|
|
|
new-instance v6, Lcom/discord/utilities/analytics/Traits$Location;
|
|
|
|
move-object v0, v6
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
move-object v3, p3
|
|
|
|
move-object v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/discord/utilities/analytics/Traits$Location;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/discord/utilities/analytics/Traits$Location;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/utilities/analytics/Traits$Location;
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->page:Ljava/lang/String;
|
|
|
|
iget-object v1, p1, Lcom/discord/utilities/analytics/Traits$Location;->page:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->section:Ljava/lang/String;
|
|
|
|
iget-object v1, p1, Lcom/discord/utilities/analytics/Traits$Location;->section:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->_object:Ljava/lang/String;
|
|
|
|
iget-object v1, p1, Lcom/discord/utilities/analytics/Traits$Location;->_object:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->objectType:Ljava/lang/String;
|
|
|
|
iget-object v1, p1, Lcom/discord/utilities/analytics/Traits$Location;->objectType:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->promotionId:Ljava/lang/Integer;
|
|
|
|
iget-object p1, p1, Lcom/discord/utilities/analytics/Traits$Location;->promotionId:Ljava/lang/Integer;
|
|
|
|
invoke-static {v0, p1}, Lkotlin/jvm/internal/l;->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 getObjectType()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->objectType:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getPage()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->page:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getPromotionId()Ljava/lang/Integer;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->promotionId:Ljava/lang/Integer;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getSection()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->section:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final get_object()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->_object:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->page: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/utilities/analytics/Traits$Location;->section:Ljava/lang/String;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/utilities/analytics/Traits$Location;->_object:Ljava/lang/String;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/utilities/analytics/Traits$Location;->objectType:Ljava/lang/String;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 v2, 0x0
|
|
|
|
:goto_3
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/utilities/analytics/Traits$Location;->promotionId:Ljava/lang/Integer;
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_4
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final serializeTo(Ljava/util/Map;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Object;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "properties"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->page:Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "location_page"
|
|
|
|
invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->section:Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const-string v1, "location_section"
|
|
|
|
invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->_object:Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const-string v1, "location_object"
|
|
|
|
invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->objectType:Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
const-string v1, "location_object_type"
|
|
|
|
invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_3
|
|
iget-object v0, p0, Lcom/discord/utilities/analytics/Traits$Location;->promotionId:Ljava/lang/Integer;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
check-cast v0, Ljava/lang/Number;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "location_promotion_id"
|
|
|
|
invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Location(page="
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/analytics/Traits$Location;->page:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", section="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/analytics/Traits$Location;->section:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", _object="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/analytics/Traits$Location;->_object:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", objectType="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/analytics/Traits$Location;->objectType:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", promotionId="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/analytics/Traits$Location;->promotionId: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
|