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

135 lines
2.8 KiB
Smali
Raw Normal View History

2020-07-22 00:04:40 +00:00
.class public final Li0/o/a;
2020-07-20 19:00:44 +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
.method public constructor <init>()V
.locals 0
2020-07-20 19:00:44 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-20 19:00:44 +00:00
.method public getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lkotlin/reflect/KProperty<",
"*>;)TT;"
}
.end annotation
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz p2, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-22 00:04:40 +00:00
iget-object p1, p0, Li0/o/a;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz p1, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
return-object p1
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const-string v0, "Property "
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-interface {p2}, Lkotlin/reflect/KCallable;->getName()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object p2
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +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-07-20 19:00:44 +00:00
const-string p2, " should be initialized before get."
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +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-07-20 19:00:44 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object p2
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
throw p1
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_1
const-string p1, "property"
2020-05-17 12:40:10 +00:00
2020-07-22 00:04:40 +00:00
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const/4 p1, 0x0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
throw p1
2020-05-17 12:40:10 +00:00
.end method
2020-07-20 19:00:44 +00:00
.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-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const/4 p1, 0x0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz p2, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz p3, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-22 00:04:40 +00:00
iput-object p3, p0, Li0/o/a;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
return-void
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_0
const-string p2, "value"
2020-05-17 12:40:10 +00:00
2020-07-22 00:04:40 +00:00
invoke-static {p2}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
throw p1
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_1
const-string p2, "property"
2020-05-17 12:40:10 +00:00
2020-07-22 00:04:40 +00:00
invoke-static {p2}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
throw p1
2020-05-17 12:40:10 +00:00
.end method