apkfuckery/com.discord/smali_classes2/y/n/b.smali

132 lines
3.2 KiB
Smali
Raw Normal View History

2020-11-14 03:19:56 +00:00
.class public abstract Ly/n/b;
2020-11-13 19:18:44 +00:00
.super Ljava/lang/Object;
.source "ObservableProperty.kt"
# interfaces
.implements Lkotlin/properties/ReadWriteProperty;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkotlin/properties/ReadWriteProperty<",
"Ljava/lang/Object;",
"TV;>;"
}
.end annotation
# instance fields
2020-11-14 03:19:56 +00:00
.field private value:Ljava/lang/Object;
2020-11-13 19:18:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"TV;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-11-14 03:19:56 +00:00
iput-object p1, p0, Ly/n/b;->value:Ljava/lang/Object;
2020-11-13 19:18:44 +00:00
return-void
.end method
# virtual methods
.method public abstract afterChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/reflect/KProperty<",
"*>;TV;TV;)V"
}
.end annotation
.end method
.method public beforeChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/reflect/KProperty<",
"*>;TV;TV;)Z"
}
.end annotation
const-string p2, "property"
2020-11-14 03:19:56 +00:00
invoke-static {p1, p2}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
const/4 p1, 0x1
return p1
.end method
.method public getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lkotlin/reflect/KProperty<",
"*>;)TV;"
}
.end annotation
const-string p1, "property"
2020-11-14 03:19:56 +00:00
invoke-static {p2, p1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
2020-11-14 03:19:56 +00:00
iget-object p1, p0, Ly/n/b;->value:Ljava/lang/Object;
2020-11-13 19:18:44 +00:00
return-object p1
.end method
.method public setValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lkotlin/reflect/KProperty<",
"*>;TV;)V"
}
.end annotation
const-string p1, "property"
2020-11-14 03:19:56 +00:00
invoke-static {p2, p1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
2020-11-14 03:19:56 +00:00
iget-object p1, p0, Ly/n/b;->value:Ljava/lang/Object;
2020-11-13 19:18:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {p0, p2, p1, p3}, Ly/n/b;->beforeChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)Z
2020-11-13 19:18:44 +00:00
move-result v0
if-nez v0, :cond_0
return-void
:cond_0
2020-11-14 03:19:56 +00:00
iput-object p3, p0, Ly/n/b;->value:Ljava/lang/Object;
2020-11-13 19:18:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {p0, p2, p1, p3}, Ly/n/b;->afterChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)V
2020-11-13 19:18:44 +00:00
return-void
.end method