apkfuckery/com.discord/smali_classes2/kotterknife/d.smali
2019-02-04 21:42:43 +01:00

143 lines
3.4 KiB
Smali

.class final Lkotterknife/d;
.super Ljava/lang/Object;
.source "Kotterknife.kt"
# static fields
.field private static final bgX:Ljava/util/WeakHashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/WeakHashMap<",
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"Lkotterknife/c<",
"**>;>;>;"
}
.end annotation
.end field
.field public static final bgY:Lkotterknife/d;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lkotterknife/d;
invoke-direct {v0}, Lkotterknife/d;-><init>()V
sput-object v0, Lkotterknife/d;->bgY:Lkotterknife/d;
new-instance v0, Ljava/util/WeakHashMap;
invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V
sput-object v0, Lkotterknife/d;->bgX:Ljava/util/WeakHashMap;
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
sget-object v0, Lkotterknife/d;->bgX:Ljava/util/WeakHashMap;
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
sget-object v0, Lkotterknife/d;->bgX:Ljava/util/WeakHashMap;
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;
sget-object v2, Lkotterknife/c$a;->bgW:Lkotterknife/c$a;
iput-object v2, v1, Lkotterknife/c;->value:Ljava/lang/Object;
goto :goto_0
:cond_0
sget-object v0, Lkotterknife/d;->bgX:Ljava/util/WeakHashMap;
invoke-virtual {v0, p0}, Ljava/util/WeakHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method