apkfuckery/com.discord/smali_classes2/a0/h.smali
2020-11-14 03:19:56 +00:00

140 lines
3.5 KiB
Smali

.class public final La0/h;
.super Ljava/lang/Object;
.source "Kotterknife.kt"
# interfaces
.implements Lkotlin/properties/ReadOnlyProperty;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
La0/h$a;
}
.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 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function2<",
"-TT;-",
"Lkotlin/reflect/KProperty<",
"*>;+TV;>;)V"
}
.end annotation
const-string v0, "initializer"
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, La0/h;->b:Lkotlin/jvm/functions/Function2;
sget-object p1, La0/h$a;->a:La0/h$a;
iput-object p1, p0, La0/h;->a:Ljava/lang/Object;
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
const-string v0, "property"
invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, La0/h;->a:Ljava/lang/Object;
sget-object v1, La0/h$a;->a:La0/h$a;
invoke-static {v0, v1}, Ly/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, La0/h;->b:Lkotlin/jvm/functions/Function2;
invoke-interface {v0, p1, p2}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p2
iput-object p2, p0, La0/h;->a:Ljava/lang/Object;
sget-object p2, La0/i;->b:La0/i;
const-string p2, "lazy"
invoke-static {p0, p2}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object p2, La0/i;->a:Ljava/util/WeakHashMap;
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;
invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V
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;
:cond_0
check-cast v0, Ljava/util/Collection;
invoke-interface {v0, p0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
:cond_1
iget-object p1, p0, La0/h;->a:Ljava/lang/Object;
return-object p1
.end method