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