apkfuckery/com.discord/smali_classes2/k0/h.smali

140 lines
3.2 KiB
Smali
Raw Normal View History

2020-07-14 22:43:59 +00:00
.class public final Lk0/h;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "Kotterknife.kt"
# interfaces
.implements Lkotlin/properties/ReadOnlyProperty;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-07-14 22:43:59 +00:00
Lk0/h$a;
2020-05-17 12:40:10 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkotlin/properties/ReadOnlyProperty<",
"TT;TV;>;"
}
.end annotation
# instance fields
.field public a:Ljava/lang/Object;
.field public final b:Lkotlin/jvm/functions/Function2;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function2<",
"TT;",
"Lkotlin/reflect/KProperty<",
"*>;TV;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkotlin/jvm/functions/Function2;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function2<",
"-TT;-",
"Lkotlin/reflect/KProperty<",
"*>;+TV;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-14 22:43:59 +00:00
iput-object p1, p0, Lk0/h;->b:Lkotlin/jvm/functions/Function2;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
sget-object p1, Lk0/h$a;->a:Lk0/h$a;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
iput-object p1, p0, Lk0/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
.method public getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Lkotlin/reflect/KProperty<",
"*>;)TV;"
}
.end annotation
2020-07-08 16:44:49 +00:00
if-eqz p2, :cond_2
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
iget-object v0, p0, Lk0/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
sget-object v1, Lk0/h$a;->a:Lk0/h$a;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
move-result v0
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
iget-object v0, p0, Lk0/h;->b:Lkotlin/jvm/functions/Function2;
2020-05-17 12:40:10 +00:00
invoke-interface {v0, p1, p2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p2
2020-07-14 22:43:59 +00:00
iput-object p2, p0, Lk0/h;->a:Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
sget-object p2, Lk0/i;->b:Lk0/i;
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
sget-object p2, Lk0/i;->a:Ljava/util/WeakHashMap;
2020-07-08 16:44:49 +00:00
invoke-interface {p2, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_0
new-instance v0, Ljava/util/WeakHashMap;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {v0}, Ljava/util/Collections;->newSetFromMap(Ljava/util/Map;)Ljava/util/Set;
move-result-object v0
invoke-interface {p2, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
:cond_0
2020-07-08 16:44:49 +00:00
check-cast v0, Ljava/util/Collection;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {v0, p0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
:cond_1
2020-07-14 22:43:59 +00:00
iget-object p1, p0, Lk0/h;->a:Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
return-object p1
:cond_2
2020-05-17 12:40:10 +00:00
const-string p1, "property"
2020-07-14 22:43:59 +00:00
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
const/4 p1, 0x0
throw p1
.end method