apkfuckery/com.discord/smali_classes2/kotlin/properties/b.smali

139 lines
3.4 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public abstract Lkotlin/properties/b;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "ObservableProperty.kt"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Lkotlin/properties/ReadWriteProperty;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkotlin/properties/ReadWriteProperty<",
"Ljava/lang/Object;",
"TT;>;"
}
.end annotation
# instance fields
.field private value:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/properties/b;->value:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method protected afterChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/reflect/KProperty<",
"*>;TT;TT;)V"
}
.end annotation
const-string p2, "property"
2019-05-22 23:20:16 +00:00
invoke-static {p1, p2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
return-void
.end method
.method protected beforeChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/reflect/KProperty<",
"*>;TT;TT;)Z"
}
.end annotation
const-string p2, "property"
2019-05-22 23:20:16 +00:00
invoke-static {p1, p2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +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<",
"*>;)TT;"
}
.end annotation
const-string p1, "property"
2019-05-22 23:20:16 +00:00
invoke-static {p2, p1}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
iget-object p1, p0, Lkotlin/properties/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<",
"*>;TT;)V"
}
.end annotation
const-string p1, "property"
2019-05-22 23:20:16 +00:00
invoke-static {p2, p1}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
iget-object p1, p0, Lkotlin/properties/b;->value:Ljava/lang/Object;
invoke-virtual {p0, p2, p1, p3}, Lkotlin/properties/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, Lkotlin/properties/b;->value:Ljava/lang/Object;
invoke-virtual {p0, p2, p1, p3}, Lkotlin/properties/b;->afterChange(Lkotlin/reflect/KProperty;Ljava/lang/Object;Ljava/lang/Object;)V
return-void
.end method