apkfuckery/com.discord/smali_classes2/k0/o/a.smali

116 lines
2.8 KiB
Smali
Raw Normal View History

2020-09-18 16:51:32 +00:00
.class public final Lk0/o/a;
2020-09-08 08:16:32 +00:00
.super Ljava/lang/Object;
.source "Delegates.kt"
# 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 public a:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-25 00:57:58 +00:00
.method public constructor <init>()V
2020-09-08 08:16:32 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
.locals 1
2020-09-08 08:16:32 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lkotlin/reflect/KProperty<",
"*>;)TT;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string p1, "property"
2020-09-18 16:51:32 +00:00
invoke-static {p2, p1}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
2020-09-18 16:51:32 +00:00
iget-object p1, p0, Lk0/o/a;->a:Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_0
return-object p1
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "Property "
2020-09-16 23:45:23 +00:00
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-08 08:16:32 +00:00
move-result-object v0
invoke-interface {p2}, Lkotlin/reflect/KCallable;->getName()Ljava/lang/String;
move-result-object p2
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
const-string p2, " should be initialized before get."
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public setValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lkotlin/reflect/KProperty<",
"*>;TT;)V"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string p1, "property"
2020-09-18 16:51:32 +00:00
invoke-static {p2, p1}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
2020-09-16 23:45:23 +00:00
const-string p1, "value"
2020-09-08 08:16:32 +00:00
2020-09-18 16:51:32 +00:00
invoke-static {p3, p1}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
2020-09-18 16:51:32 +00:00
iput-object p3, p0, Lk0/o/a;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
return-void
.end method