apkfuckery/com.discord/smali_classes2/kotterknife/d.smali

144 lines
3.4 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lkotterknife/d;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Kotterknife.kt"
2019-02-04 20:08:30 +00:00
# static fields
2019-02-17 00:24:05 +00:00
.field private static final bhc:Ljava/util/WeakHashMap;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/WeakHashMap<",
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"Lkotterknife/c<",
"**>;>;>;"
}
.end annotation
.end field
2019-02-17 00:24:05 +00:00
.field public static final bhd:Lkotterknife/d;
2019-02-04 20:08:30 +00:00
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lkotterknife/d;
invoke-direct {v0}, Lkotterknife/d;-><init>()V
2019-02-17 00:24:05 +00:00
sput-object v0, Lkotterknife/d;->bhd:Lkotterknife/d;
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/util/WeakHashMap;
invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V
2019-02-17 00:24:05 +00:00
sput-object v0, Lkotterknife/d;->bhc:Ljava/util/WeakHashMap;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Ljava/lang/Object;Lkotterknife/c;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Lkotterknife/c<",
"**>;)V"
}
.end annotation
const-string v0, "lazy"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-17 00:24:05 +00:00
sget-object v0, Lkotterknife/d;->bhc:Ljava/util/WeakHashMap;
2019-02-04 20:08:30 +00:00
check-cast v0, Ljava/util/Map;
invoke-interface {v0, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
if-nez v1, :cond_0
new-instance v1, Ljava/util/WeakHashMap;
invoke-direct {v1}, Ljava/util/WeakHashMap;-><init>()V
check-cast v1, Ljava/util/Map;
invoke-static {v1}, Ljava/util/Collections;->newSetFromMap(Ljava/util/Map;)Ljava/util/Set;
move-result-object v1
invoke-interface {v0, p0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:cond_0
check-cast v1, Ljava/util/Collection;
invoke-interface {v1, p1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
return-void
.end method
.method public static reset(Ljava/lang/Object;)V
.locals 3
const-string v0, "target"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-17 00:24:05 +00:00
sget-object v0, Lkotterknife/d;->bhc:Ljava/util/WeakHashMap;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, p0}, Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Collection;
if-eqz v0, :cond_0
check-cast v0, Ljava/lang/Iterable;
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lkotterknife/c;
2019-02-17 00:24:05 +00:00
sget-object v2, Lkotterknife/c$a;->bhb:Lkotterknife/c$a;
2019-02-04 20:08:30 +00:00
iput-object v2, v1, Lkotterknife/c;->value:Ljava/lang/Object;
goto :goto_0
:cond_0
2019-02-17 00:24:05 +00:00
sget-object v0, Lkotterknife/d;->bhc:Ljava/util/WeakHashMap;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, p0}, Ljava/util/WeakHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method