149 lines
4 KiB
Smali
149 lines
4 KiB
Smali
.class public final Lcom/discord/stores/StoreV2$MarkChangedDelegate;
|
|
.super Ljava/lang/Object;
|
|
.source "StoreV2.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/stores/StoreV2;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "MarkChangedDelegate"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final overrideUpdateSource:Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
.field public value:Ljava/lang/Object;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"TT;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/Object;Lcom/discord/stores/updates/ObservationDeck$UpdateSource;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;",
|
|
"Lcom/discord/stores/updates/ObservationDeck$UpdateSource;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreV2$MarkChangedDelegate;->value:Ljava/lang/Object;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreV2$MarkChangedDelegate;->overrideUpdateSource:Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Ljava/lang/Object;Lcom/discord/stores/updates/ObservationDeck$UpdateSource;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/stores/StoreV2$MarkChangedDelegate;-><init>(Ljava/lang/Object;Lcom/discord/stores/updates/ObservationDeck$UpdateSource;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getValue(Lcom/discord/stores/StoreV2;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/stores/StoreV2;",
|
|
"Lkotlin/reflect/KProperty<",
|
|
"*>;)TT;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string p1, "property"
|
|
|
|
invoke-static {p2, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/stores/StoreV2$MarkChangedDelegate;->value:Ljava/lang/Object;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final setValue(Lcom/discord/stores/StoreV2;Lkotlin/reflect/KProperty;Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/stores/StoreV2;",
|
|
"Lkotlin/reflect/KProperty<",
|
|
"*>;TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "property"
|
|
|
|
invoke-static {p2, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object p2, p0, Lcom/discord/stores/StoreV2$MarkChangedDelegate;->value:Ljava/lang/Object;
|
|
|
|
invoke-static {p2, p3}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
xor-int/2addr p2, v0
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
iput-object p3, p0, Lcom/discord/stores/StoreV2$MarkChangedDelegate;->value:Ljava/lang/Object;
|
|
|
|
iget-object p2, p0, Lcom/discord/stores/StoreV2$MarkChangedDelegate;->overrideUpdateSource:Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
new-array p3, v0, [Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
aput-object p2, p3, v0
|
|
|
|
invoke-virtual {p1, p3}, Lcom/discord/stores/StoreV2;->markChanged([Lcom/discord/stores/updates/ObservationDeck$UpdateSource;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreV2;->markChanged()V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|