873 lines
17 KiB
Smali
873 lines
17 KiB
Smali
.class public Lt/f;
|
|
.super Ljava/lang/Object;
|
|
.source "Task.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TResult:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final i:Ljava/util/concurrent/Executor;
|
|
|
|
.field public static j:Lt/f;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lt/f<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static k:Lt/f;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lt/f<",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static l:Lt/f;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lt/f<",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/lang/Object;
|
|
|
|
.field public b:Z
|
|
|
|
.field public c:Z
|
|
|
|
.field public d:Ljava/lang/Object;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"TTResult;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public e:Ljava/lang/Exception;
|
|
|
|
.field public f:Z
|
|
|
|
.field public g:Lt/j;
|
|
|
|
.field public h:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lt/d<",
|
|
"TTResult;",
|
|
"Ljava/lang/Void;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
sget-object v0, Lt/b;->c:Lt/b;
|
|
|
|
iget-object v1, v0, Lt/b;->a:Ljava/util/concurrent/ExecutorService;
|
|
|
|
iget-object v0, v0, Lt/b;->b:Ljava/util/concurrent/Executor;
|
|
|
|
sput-object v0, Lt/f;->i:Ljava/util/concurrent/Executor;
|
|
|
|
sget-object v0, Lt/a;->b:Lt/a;
|
|
|
|
iget-object v0, v0, Lt/a;->a:Ljava/util/concurrent/Executor;
|
|
|
|
new-instance v0, Lt/f;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lt/f;-><init>(Ljava/lang/Object;)V
|
|
|
|
sput-object v0, Lt/f;->j:Lt/f;
|
|
|
|
new-instance v0, Lt/f;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v0, v2}, Lt/f;-><init>(Ljava/lang/Object;)V
|
|
|
|
sput-object v0, Lt/f;->k:Lt/f;
|
|
|
|
new-instance v0, Lt/f;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v0, v2}, Lt/f;-><init>(Ljava/lang/Object;)V
|
|
|
|
sput-object v0, Lt/f;->l:Lt/f;
|
|
|
|
new-instance v0, Lt/f;
|
|
|
|
invoke-direct {v0, v1}, Lt/f;-><init>(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/lang/Object;
|
|
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lt/f;->h:Ljava/util/List;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TTResult;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/lang/Object;
|
|
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lt/f;->h:Ljava/util/List;
|
|
|
|
invoke-virtual {p0, p1}, Lt/f;->a(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Z)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/lang/Object;
|
|
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lt/f;->h:Ljava/util/List;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lt/f;->g()Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
invoke-virtual {p0, p1}, Lt/f;->a(Ljava/lang/Object;)Z
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/util/concurrent/Callable;Ljava/util/concurrent/Executor;)Lt/f;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TResult:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"TTResult;>;",
|
|
"Ljava/util/concurrent/Executor;",
|
|
")",
|
|
"Lt/f<",
|
|
"TTResult;>;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Lt/i;
|
|
|
|
invoke-direct {v0}, Lt/i;-><init>()V
|
|
|
|
:try_start_0
|
|
new-instance v1, Lt/h;
|
|
|
|
invoke-direct {v1, v0, p0}, Lt/h;-><init>(Lt/i;Ljava/util/concurrent/Callable;)V
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
new-instance p1, Lt/e;
|
|
|
|
invoke-direct {p1, p0}, Lt/e;-><init>(Ljava/lang/Exception;)V
|
|
|
|
invoke-virtual {v0, p1}, Lt/i;->a(Ljava/lang/Exception;)V
|
|
|
|
:goto_0
|
|
iget-object p0, v0, Lt/i;->a:Lt/f;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Lt/i;Lt/d;Lt/f;Ljava/util/concurrent/Executor;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TContinuationResult:",
|
|
"Ljava/lang/Object;",
|
|
"TResult:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lt/i<",
|
|
"TTContinuationResult;>;",
|
|
"Lt/d<",
|
|
"TTResult;TTContinuationResult;>;",
|
|
"Lt/f<",
|
|
"TTResult;>;",
|
|
"Ljava/util/concurrent/Executor;",
|
|
"Lt/c;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
new-instance v0, Lt/g;
|
|
|
|
invoke-direct {v0, p0, p1, p2}, Lt/g;-><init>(Lt/i;Lt/d;Lt/f;)V
|
|
|
|
invoke-interface {p3, v0}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance p2, Lt/e;
|
|
|
|
invoke-direct {p2, p1}, Lt/e;-><init>(Ljava/lang/Exception;)V
|
|
|
|
invoke-virtual {p0, p2}, Lt/i;->a(Ljava/lang/Exception;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b(Ljava/lang/Exception;)Lt/f;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TResult:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Exception;",
|
|
")",
|
|
"Lt/f<",
|
|
"TTResult;>;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Lt/f;
|
|
|
|
invoke-direct {v0}, Lt/f;-><init>()V
|
|
|
|
invoke-virtual {v0, p0}, Lt/f;->a(Ljava/lang/Exception;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "Cannot set the error on a completed task."
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static b(Ljava/lang/Object;)Lt/f;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TResult:",
|
|
"Ljava/lang/Object;",
|
|
">(TTResult;)",
|
|
"Lt/f<",
|
|
"TTResult;>;"
|
|
}
|
|
.end annotation
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
sget-object p0, Lt/f;->j:Lt/f;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
instance-of v0, p0, Ljava/lang/Boolean;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
check-cast p0, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
sget-object p0, Lt/f;->k:Lt/f;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
sget-object p0, Lt/f;->l:Lt/f;
|
|
|
|
:goto_0
|
|
return-object p0
|
|
|
|
:cond_2
|
|
new-instance v0, Lt/f;
|
|
|
|
invoke-direct {v0}, Lt/f;-><init>()V
|
|
|
|
invoke-virtual {v0, p0}, Lt/f;->a(Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
return-object v0
|
|
|
|
:cond_3
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "Cannot set the result of a completed task."
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Ljava/lang/Exception;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lt/f;->e:Ljava/lang/Exception;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, p0, Lt/f;->f:Z
|
|
|
|
iget-object v1, p0, Lt/f;->g:Lt/j;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, p0, Lt/f;->g:Lt/j;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput-object v2, v1, Lt/j;->a:Lt/f;
|
|
|
|
iput-object v2, p0, Lt/f;->g:Lt/j;
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lt/f;->e:Ljava/lang/Exception;
|
|
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public a(Lt/d;)Lt/f;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TContinuationResult:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lt/d<",
|
|
"TTResult;TTContinuationResult;>;)",
|
|
"Lt/f<",
|
|
"TTContinuationResult;>;"
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Lt/f;->i:Ljava/util/concurrent/Executor;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, p1, v0, v1}, Lt/f;->a(Lt/d;Ljava/util/concurrent/Executor;Lt/c;)Lt/f;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a(Lt/d;Ljava/util/concurrent/Executor;Lt/c;)Lt/f;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TContinuationResult:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lt/d<",
|
|
"TTResult;TTContinuationResult;>;",
|
|
"Ljava/util/concurrent/Executor;",
|
|
"Lt/c;",
|
|
")",
|
|
"Lt/f<",
|
|
"TTContinuationResult;>;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance p3, Lt/i;
|
|
|
|
invoke-direct {p3}, Lt/i;-><init>()V
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lt/f;->d()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
iget-object v2, p0, Lt/f;->h:Ljava/util/List;
|
|
|
|
new-instance v3, Lt/f$a;
|
|
|
|
invoke-direct {v3, p0, p3, p1, p2}, Lt/f$a;-><init>(Lt/f;Lt/i;Lt/d;Ljava/util/concurrent/Executor;)V
|
|
|
|
invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-static {p3, p1, p0, p2}, Lt/f;->a(Lt/i;Lt/d;Lt/f;Ljava/util/concurrent/Executor;)V
|
|
|
|
:cond_1
|
|
iget-object p1, p3, Lt/i;->a:Lt/f;
|
|
|
|
return-object p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/Exception;)Z
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lt/f;->b:Z
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, p0, Lt/f;->b:Z
|
|
|
|
iput-object p1, p0, Lt/f;->e:Ljava/lang/Exception;
|
|
|
|
iput-boolean v2, p0, Lt/f;->f:Z
|
|
|
|
iget-object p1, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
invoke-virtual {p0}, Lt/f;->f()V
|
|
|
|
iget-boolean p1, p0, Lt/f;->f:Z
|
|
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TTResult;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lt/f;->b:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
monitor-exit v0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, p0, Lt/f;->b:Z
|
|
|
|
iput-object p1, p0, Lt/f;->d:Ljava/lang/Object;
|
|
|
|
iget-object p1, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
invoke-virtual {p0}, Lt/f;->f()V
|
|
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public b()Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TTResult;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lt/f;->d:Ljava/lang/Object;
|
|
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public c()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lt/f;->c:Z
|
|
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public d()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lt/f;->b:Z
|
|
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public e()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lt/f;->a()Ljava/lang/Exception;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final f()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lt/f;->h:Ljava/util/List;
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:goto_0
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lt/d;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:try_start_1
|
|
invoke-interface {v2, p0}, Lt/d;->a(Lt/f;)Ljava/lang/Object;
|
|
:try_end_1
|
|
.catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
:try_start_2
|
|
new-instance v2, Ljava/lang/RuntimeException;
|
|
|
|
invoke-direct {v2, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v2
|
|
|
|
:catch_1
|
|
move-exception v1
|
|
|
|
throw v1
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, p0, Lt/f;->h:Ljava/util/List;
|
|
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public g()Z
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lt/f;->b:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, p0, Lt/f;->b:Z
|
|
|
|
iput-boolean v1, p0, Lt/f;->c:Z
|
|
|
|
iget-object v2, p0, Lt/f;->a:Ljava/lang/Object;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
invoke-virtual {p0}, Lt/f;->f()V
|
|
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|