apkfuckery/com.discord/smali_classes2/z/o/b.smali
2020-11-12 02:11:44 +00:00

131 lines
3.2 KiB
Smali

.class public abstract Lz/o/b;
.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
.field public value:Ljava/lang/Object;
.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
iput-object p1, p0, Lz/o/b;->value:Ljava/lang/Object;
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"
invoke-static {p1, p2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
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"
invoke-static {p2, p1}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lz/o/b;->value:Ljava/lang/Object;
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"
invoke-static {p2, p1}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lz/o/b;->value:Ljava/lang/Object;
invoke-virtual {p0, p2, p1, p3}, Lz/o/b;->beforeChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_0
return-void
:cond_0
iput-object p3, p0, Lz/o/b;->value:Ljava/lang/Object;
invoke-virtual {p0, p2, p1, p3}, Lz/o/b;->afterChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)V
return-void
.end method