apkfuckery/com.discord/smali_classes2/y/i.smali
2020-03-27 00:31:08 +01:00

151 lines
3.1 KiB
Smali

.class public final Ly/i;
.super Ljava/lang/Object;
.source "Kotterknife.kt"
# static fields
.field public static final a:Ljava/util/WeakHashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/WeakHashMap<",
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"Ly/h<",
"**>;>;>;"
}
.end annotation
.end field
.field public static final b:Ly/i;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Ly/i;
invoke-direct {v0}, Ly/i;-><init>()V
sput-object v0, Ly/i;->b:Ly/i;
new-instance v0, Ljava/util/WeakHashMap;
invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V
sput-object v0, Ly/i;->a:Ljava/util/WeakHashMap;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Ljava/lang/Object;)V
.locals 2
if-eqz p1, :cond_1
sget-object v0, Ly/i;->a:Ljava/util/WeakHashMap;
invoke-virtual {v0, p1}, 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
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, Ly/h;
invoke-virtual {v1}, Ly/h;->a()V
goto :goto_0
:cond_0
sget-object v0, Ly/i;->a:Ljava/util/WeakHashMap;
invoke-virtual {v0, p1}, Ljava/util/WeakHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
return-void
:cond_1
const-string p1, "target"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final a(Ljava/lang/Object;Ly/h;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Ly/h<",
"**>;)V"
}
.end annotation
if-eqz p2, :cond_1
sget-object v0, Ly/i;->a:Ljava/util/WeakHashMap;
invoke-interface {v0, p1}, 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
invoke-static {v1}, Ljava/util/Collections;->newSetFromMap(Ljava/util/Map;)Ljava/util/Set;
move-result-object v1
invoke-interface {v0, p1, 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, p2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
return-void
:cond_1
const-string p1, "lazy"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method