apkfuckery/com.discord/smali_classes2/u/i.smali
2019-12-13 03:35:12 +01:00

151 lines
3.1 KiB
Smali

.class public final Lu/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<",
"Lu/h<",
"**>;>;>;"
}
.end annotation
.end field
.field public static final b:Lu/i;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lu/i;
invoke-direct {v0}, Lu/i;-><init>()V
sput-object v0, Lu/i;->b:Lu/i;
new-instance v0, Ljava/util/WeakHashMap;
invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V
sput-object v0, Lu/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, Lu/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, Lu/h;
invoke-virtual {v1}, Lu/h;->a()V
goto :goto_0
:cond_0
sget-object v0, Lu/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}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final a(Ljava/lang/Object;Lu/h;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Lu/h<",
"**>;)V"
}
.end annotation
if-eqz p2, :cond_1
sget-object v0, Lu/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}, Ls/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method