apkfuckery/com.discord/smali_classes2/z/i.smali
2020-04-27 22:53:11 +02:00

151 lines
3.1 KiB
Smali

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