an.smali
.class abstract Lcom/amap/api/services/a/an;
.super Ljava/lang/ClassLoader;
# instance fields
.field protected final a:Landroid/content/Context;
.field protected final b:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Ljava/lang/Class",
"<*>;>;"
}
.end annotation
.end field
.field protected c:Ldalvik/system/DexFile;
.field volatile d:Z
.field protected e:Lcom/amap/api/services/a/n;
.field protected f:Ljava/lang/String;
# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/amap/api/services/a/n;Z)V
.registers 5
invoke-virtual {p1}, Landroid/content/Context;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/ClassLoader;-><init>(Ljava/lang/ClassLoader;)V
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lcom/amap/api/services/a/an;->b:Ljava/util/Map;
const/4 v0, 0x0
iput-object v0, p0, Lcom/amap/api/services/a/an;->c:Ldalvik/system/DexFile;
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/amap/api/services/a/an;->d:Z
iput-object p1, p0, Lcom/amap/api/services/a/an;->a:Landroid/content/Context;
iput-object p2, p0, Lcom/amap/api/services/a/an;->e:Lcom/amap/api/services/a/n;
return-void
.end method
# virtual methods
.method public a()Z
.registers 2
iget-object v0, p0, Lcom/amap/api/services/a/an;->c:Ldalvik/system/DexFile;
if-eqz v0, :cond_6
const/4 v0, 0x1
:goto_5
return v0
:cond_6
const/4 v0, 0x0
goto :goto_5
.end method
.method protected b()V
.registers 4
:try_start_0
iget-object v1, p0, Lcom/amap/api/services/a/an;->b:Ljava/util/Map;
monitor-enter v1
:try_end_3
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_3} :catch_16
:try_start_3
iget-object v0, p0, Lcom/amap/api/services/a/an;->b:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->clear()V
monitor-exit v1
:try_end_9
.catchall {:try_start_3 .. :try_end_9} :catchall_13
:try_start_9
iget-object v0, p0, Lcom/amap/api/services/a/an;->c:Ldalvik/system/DexFile;
if-eqz v0, :cond_12
iget-object v0, p0, Lcom/amap/api/services/a/an;->c:Ldalvik/system/DexFile;
invoke-virtual {v0}, Ldalvik/system/DexFile;->close()V
:try_end_12
.catch Ljava/lang/Throwable; {:try_start_9 .. :try_end_12} :catch_16
:cond_12
:goto_12
return-void
:catchall_13
move-exception v0
:try_start_14
monitor-exit v1
:try_end_15
.catchall {:try_start_14 .. :try_end_15} :catchall_13
:try_start_15
throw v0
:try_end_16
.catch Ljava/lang/Throwable; {:try_start_15 .. :try_end_16} :catch_16
:catch_16
move-exception v0
const-string/jumbo v1, "BaseClassLoader"
const-string/jumbo v2, "releaseDexFile()"
invoke-static {v0, v1, v2}, Lcom/amap/api/services/a/av;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V
goto :goto_12
.end method