apkfuckery/com.discord/smali_classes2/l0/h.smali
2020-07-08 16:44:49 +00:00

139 lines
3.2 KiB
Smali

.class public final Ll0/h;
.super Ljava/lang/Object;
.source "Kotterknife.kt"
# interfaces
.implements Lkotlin/properties/ReadOnlyProperty;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Ll0/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 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
iput-object p1, p0, Ll0/h;->b:Lkotlin/jvm/functions/Function2;
sget-object p1, Ll0/h$a;->a:Ll0/h$a;
iput-object p1, p0, Ll0/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
if-eqz p2, :cond_2
iget-object v0, p0, Ll0/h;->a:Ljava/lang/Object;
sget-object v1, Ll0/h$a;->a:Ll0/h$a;
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Ll0/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, Ll0/h;->a:Ljava/lang/Object;
sget-object p2, Ll0/i;->b:Ll0/i;
sget-object p2, Ll0/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, Ll0/h;->a:Ljava/lang/Object;
return-object p1
:cond_2
const-string p1, "property"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method