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

141 lines
3.5 KiB
Smali
Raw Normal View History

2020-09-02 04:07:20 +00:00
.class public final Lm0/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-09-02 04:07:20 +00:00
Lm0/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
2020-09-09 19:21:20 +00:00
.locals 1
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function2<",
"-TT;-",
"Lkotlin/reflect/KProperty<",
"*>;+TV;>;)V"
}
.end annotation
2020-09-09 19:21:20 +00:00
const-string v0, "initializer"
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-09-02 04:07:20 +00:00
iput-object p1, p0, Lm0/h;->b:Lkotlin/jvm/functions/Function2;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
sget-object p1, Lm0/h$a;->a:Lm0/h$a;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iput-object p1, p0, Lm0/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-09-09 19:21:20 +00:00
const-string v0, "property"
invoke-static {p2, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v0, p0, Lm0/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
sget-object v1, Lm0/h$a;->a:Lm0/h$a;
2020-05-17 12:40:10 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {v0, v1}, Lk0/n/c/i;->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-09-02 04:07:20 +00:00
iget-object v0, p0, Lm0/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-09-02 04:07:20 +00:00
iput-object p2, p0, Lm0/h;->a:Ljava/lang/Object;
sget-object p2, Lm0/i;->b:Lm0/i;
2020-09-09 19:21:20 +00:00
const-string p2, "lazy"
invoke-static {p0, p2}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
sget-object p2, Lm0/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-09-02 04:07:20 +00:00
iget-object p1, p0, Lm0/h;->a:Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
return-object p1
2020-05-17 12:40:10 +00:00
.end method