apkfuckery/com.discord/smali_classes2/m/v/a.smali
2019-12-20 08:00:35 +01:00

134 lines
2.8 KiB
Smali

.class public final Lm/v/a;
.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
# direct methods
.method public constructor <init>()V
.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;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Lkotlin/reflect/KProperty<",
"*>;)TT;"
}
.end annotation
if-eqz p2, :cond_1
iget-object p1, p0, Lm/v/a;->a:Ljava/lang/Object;
if-eqz p1, :cond_0
return-object p1
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "Property "
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-interface {p2}, Lkotlin/reflect/KCallable;->getName()Ljava/lang/String;
move-result-object p2
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
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
:cond_1
const-string p1, "property"
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
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
const/4 p1, 0x0
if-eqz p2, :cond_1
if-eqz p3, :cond_0
iput-object p3, p0, Lm/v/a;->a:Ljava/lang/Object;
return-void
:cond_0
const-string p2, "value"
invoke-static {p2}, Lm/u/b/j;->a(Ljava/lang/String;)V
throw p1
:cond_1
const-string p2, "property"
invoke-static {p2}, Lm/u/b/j;->a(Ljava/lang/String;)V
throw p1
.end method