i.smali
.class Lcom/google/common/util/concurrent/i;
.super Ljava/lang/Object;
.source "CycleDetectingLockFactory.java"
# instance fields
.field final aYC:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map",
"<",
"Lcom/google/common/util/concurrent/i;",
"Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;",
">;"
}
.end annotation
.end field
.field final aYD:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map",
"<",
"Lcom/google/common/util/concurrent/i;",
"Lcom/google/common/util/concurrent/CycleDetectingLockFactory$PotentialDeadlockException;",
">;"
}
.end annotation
.end field
.field final aYE:Ljava/lang/String;
# direct methods
.method constructor <init>(Ljava/lang/String;)V
.registers 4
.prologue
.line 637
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 625
new-instance v0, Lcom/google/common/collect/MapMaker;
invoke-direct {v0}, Lcom/google/common/collect/MapMaker;-><init>()V
.line 1265
sget-object v1, Lcom/google/common/collect/MapMakerInternalMap$Strength;->WEAK:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invoke-virtual {v0, v1}, Lcom/google/common/collect/MapMaker;->a(Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker;
move-result-object v0
.line 625
invoke-virtual {v0}, Lcom/google/common/collect/MapMaker;->xx()Ljava/util/concurrent/ConcurrentMap;
move-result-object v0
iput-object v0, p0, Lcom/google/common/util/concurrent/i;->aYC:Ljava/util/Map;
.line 632
new-instance v0, Lcom/google/common/collect/MapMaker;
invoke-direct {v0}, Lcom/google/common/collect/MapMaker;-><init>()V
.line 2265
sget-object v1, Lcom/google/common/collect/MapMakerInternalMap$Strength;->WEAK:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invoke-virtual {v0, v1}, Lcom/google/common/collect/MapMaker;->a(Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker;
move-result-object v0
.line 632
invoke-virtual {v0}, Lcom/google/common/collect/MapMaker;->xx()Ljava/util/concurrent/ConcurrentMap;
move-result-object v0
iput-object v0, p0, Lcom/google/common/util/concurrent/i;->aYD:Ljava/util/Map;
.line 638
invoke-static {p1}, Lcom/google/common/base/n;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
iput-object v0, p0, Lcom/google/common/util/concurrent/i;->aYE:Ljava/lang/String;
.line 639
return-void
.end method
# virtual methods
.method final a(Lcom/google/common/util/concurrent/i;Ljava/util/Set;)Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;
.registers 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/util/concurrent/i;",
"Ljava/util/Set",
"<",
"Lcom/google/common/util/concurrent/i;",
">;)",
"Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;"
}
.end annotation
.prologue
const/4 v2, 0x0
.line 729
invoke-interface {p2, p0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_9
move-object v0, v2
.line 752
:cond_8
:goto_8
return-object v0
.line 732
:cond_9
iget-object v0, p0, Lcom/google/common/util/concurrent/i;->aYC:Ljava/util/Map;
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;
.line 733
if-nez v0, :cond_8
.line 738
iget-object v0, p0, Lcom/google/common/util/concurrent/i;->aYC:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v3
:cond_1d
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_4c
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map$Entry;
.line 739
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/google/common/util/concurrent/i;
.line 740
invoke-virtual {v1, p1, p2}, Lcom/google/common/util/concurrent/i;->a(Lcom/google/common/util/concurrent/i;Ljava/util/Set;)Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;
move-result-object v4
.line 741
if-eqz v4, :cond_1d
.line 745
new-instance v2, Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;
invoke-direct {v2, v1, p0}, Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;-><init>(Lcom/google/common/util/concurrent/i;Lcom/google/common/util/concurrent/i;)V
.line 747
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;
invoke-virtual {v0}, Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;->getStackTrace()[Ljava/lang/StackTraceElement;
move-result-object v0
invoke-virtual {v2, v0}, Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;->setStackTrace([Ljava/lang/StackTraceElement;)V
.line 748
invoke-virtual {v2, v4}, Lcom/google/common/util/concurrent/CycleDetectingLockFactory$ExampleStackTrace;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
move-object v0, v2
.line 749
goto :goto_8
:cond_4c
move-object v0, v2
.line 752
goto :goto_8
.end method