apkfuckery/com.discord/smali_classes2/s/v/a.smali

135 lines
2.8 KiB
Smali
Raw Normal View History

2019-12-13 02:35:12 +00:00
.class public final Ls/v/a;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-10-17 03:51:45 +00:00
.source "Delegates.kt"
2019-07-24 11:27:29 +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
2019-12-06 03:29:40 +00:00
.field public a:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
2019-10-17 03:51:45 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
.locals 1
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2019-10-17 03:51:45 +00:00
"Ljava/lang/Object;",
2019-07-24 11:27:29 +00:00
"Lkotlin/reflect/KProperty<",
2019-10-17 03:51:45 +00:00
"*>;)TT;"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
iget-object p1, p0, Ls/v/a;->a:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-10-17 03:51:45 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
2019-10-17 03:51:45 +00:00
return-object p1
2019-07-24 11:27:29 +00:00
2019-10-17 03:51:45 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v0, "Property "
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p2}, Lkotlin/reflect/KCallable;->getName()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-10-17 03:51:45 +00:00
move-result-object p2
2019-07-24 11:27:29 +00:00
2019-10-17 03:51:45 +00:00
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-10-17 03:51:45 +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
2019-12-06 03:29:40 +00:00
throw p1
:cond_1
const-string p1, "property"
2019-12-13 02:35:12 +00:00
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
2019-10-17 03:51:45 +00:00
throw p1
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public setValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;Ljava/lang/Object;)V
2019-10-17 03:51:45 +00:00
.locals 0
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lkotlin/reflect/KProperty<",
"*>;TT;)V"
}
.end annotation
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p3, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
iput-object p3, p0, Ls/v/a;->a:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p2, "value"
2019-12-13 02:35:12 +00:00
invoke-static {p2}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw p1
:cond_1
const-string p2, "property"
2019-12-13 02:35:12 +00:00
invoke-static {p2}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw p1
2019-07-24 11:27:29 +00:00
.end method