apkfuckery/com.discord/smali/x/h.smali

753 lines
14 KiB
Smali
Raw Normal View History

2020-09-29 21:44:44 +00:00
.class public Lx/h;
2020-05-17 12:40:10 +00:00
.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;
2020-09-29 21:44:44 +00:00
.field public static j:Lx/h;
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-29 21:44:44 +00:00
"Lx/h<",
2020-05-17 12:40:10 +00:00
"*>;"
}
.end annotation
.end field
2020-09-29 21:44:44 +00:00
.field public static k:Lx/h;
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-29 21:44:44 +00:00
"Lx/h<",
2020-05-17 12:40:10 +00:00
"Ljava/lang/Boolean;",
">;"
}
.end annotation
.end field
2020-09-29 21:44:44 +00:00
.field public static l:Lx/h;
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-29 21:44:44 +00:00
"Lx/h<",
2020-05-17 12:40:10 +00:00
"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
2020-09-29 21:44:44 +00:00
.field public g:Lx/j;
2020-05-17 12:40:10 +00:00
.field public h:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
2020-09-29 21:44:44 +00:00
"Lx/d<",
2020-05-17 12:40:10 +00:00
"TTResult;",
"Ljava/lang/Void;",
">;>;"
}
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
2020-07-08 16:44:49 +00:00
.locals 2
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
sget-object v0, Lx/b;->c:Lx/b;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iget-object v1, v0, Lx/b;->a:Ljava/util/concurrent/ExecutorService;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iget-object v0, v0, Lx/b;->b:Ljava/util/concurrent/Executor;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
sput-object v0, Lx/h;->i:Ljava/util/concurrent/Executor;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
sget-object v0, Lx/a;->b:Lx/a;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iget-object v0, v0, Lx/a;->a:Ljava/util/concurrent/Executor;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
new-instance v0, Lx/h;
2020-05-17 12:40:10 +00:00
const/4 v1, 0x0
2020-09-29 21:44:44 +00:00
invoke-direct {v0, v1}, Lx/h;-><init>(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
sput-object v0, Lx/h;->j:Lx/h;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
new-instance v0, Lx/h;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v0, v1}, Lx/h;-><init>(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
sput-object v0, Lx/h;->k:Lx/h;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
new-instance v0, Lx/h;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sget-object v1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v0, v1}, Lx/h;-><init>(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
sput-object v0, Lx/h;->l:Lx/h;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
new-instance v0, Lx/h;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v1, 0x1
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v0, v1}, Lx/h;-><init>(Z)V
2020-05-17 12:40:10 +00:00
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
2020-09-29 21:44:44 +00:00
iput-object v0, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2020-09-29 21:44:44 +00:00
iput-object v0, p0, Lx/h;->h:Ljava/util/List;
2020-05-17 12:40:10 +00:00
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
2020-09-29 21:44:44 +00:00
iput-object v0, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2020-09-29 21:44:44 +00:00
iput-object v0, p0, Lx/h;->h:Ljava/util/List;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-virtual {p0, p1}, Lx/h;->i(Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
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
2020-09-29 21:44:44 +00:00
iput-object v0, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2020-09-29 21:44:44 +00:00
iput-object v0, p0, Lx/h;->h:Ljava/util/List;
2020-05-17 12:40:10 +00:00
if-eqz p1, :cond_0
2020-09-29 21:44:44 +00:00
invoke-virtual {p0}, Lx/h;->h()Z
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_0
const/4 p1, 0x0
2020-09-29 21:44:44 +00:00
invoke-virtual {p0, p1}, Lx/h;->i(Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
:goto_0
return-void
.end method
2020-09-29 21:44:44 +00:00
.method public static a(Ljava/util/concurrent/Callable;Ljava/util/concurrent/Executor;)Lx/h;
2020-05-17 12:40:10 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<TResult:",
"Ljava/lang/Object;",
">(",
"Ljava/util/concurrent/Callable<",
"TTResult;>;",
"Ljava/util/concurrent/Executor;",
")",
2020-09-29 21:44:44 +00:00
"Lx/h<",
2020-05-17 12:40:10 +00:00
"TTResult;>;"
}
.end annotation
2020-09-29 21:44:44 +00:00
new-instance v0, Lx/i;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v0}, Lx/i;-><init>()V
2020-05-17 12:40:10 +00:00
:try_start_0
2020-09-29 21:44:44 +00:00
new-instance v1, Lx/g;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v1, v0, p0}, Lx/g;-><init>(Lx/i;Ljava/util/concurrent/Callable;)V
2020-05-17 12:40:10 +00:00
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
2020-07-08 16:44:49 +00:00
new-instance p1, Lbolts/ExecutorException;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p1, p0}, Lbolts/ExecutorException;-><init>(Ljava/lang/Exception;)V
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-virtual {v0, p1}, Lx/i;->b(Ljava/lang/Exception;)V
2020-05-17 12:40:10 +00:00
:goto_0
2020-09-29 21:44:44 +00:00
iget-object p0, v0, Lx/i;->a:Lx/h;
2020-05-17 12:40:10 +00:00
return-object p0
.end method
2020-09-29 21:44:44 +00:00
.method public static c(Ljava/lang/Exception;)Lx/h;
2020-07-08 16:44:49 +00:00
.locals 5
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-08 16:44:49 +00:00
"<TResult:",
2020-05-17 12:40:10 +00:00
"Ljava/lang/Object;",
">(",
2020-07-08 16:44:49 +00:00
"Ljava/lang/Exception;",
")",
2020-09-29 21:44:44 +00:00
"Lx/h<",
2020-07-08 16:44:49 +00:00
"TTResult;>;"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-09-29 21:44:44 +00:00
new-instance v0, Lx/h;
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v0}, Lx/h;-><init>()V
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
iget-object v1, v0, Lx/h;->a:Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
monitor-enter v1
2020-05-17 12:40:10 +00:00
:try_start_0
2020-09-29 21:44:44 +00:00
iget-boolean v2, v0, Lx/h;->b:Z
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v3, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v4, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v2, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
monitor-exit v1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
2020-09-29 21:44:44 +00:00
iput-boolean v4, v0, Lx/h;->b:Z
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iput-object p0, v0, Lx/h;->e:Ljava/lang/Exception;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iput-boolean v3, v0, Lx/h;->f:Z
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iget-object p0, v0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-virtual {v0}, Lx/h;->g()V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
monitor-exit v1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v3, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:goto_0
if-eqz v3, :cond_1
2020-05-17 12:40:10 +00:00
return-object v0
2020-07-08 16:44:49 +00:00
:cond_1
2020-05-17 12:40:10 +00:00
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
2020-07-08 16:44:49 +00:00
:catchall_0
move-exception p0
:try_start_1
monitor-exit v1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p0
2020-05-17 12:40:10 +00:00
.end method
2020-09-29 21:44:44 +00:00
.method public static d(Ljava/lang/Object;)Lx/h;
2020-05-17 12:40:10 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<TResult:",
"Ljava/lang/Object;",
">(TTResult;)",
2020-09-29 21:44:44 +00:00
"Lx/h<",
2020-05-17 12:40:10 +00:00
"TTResult;>;"
}
.end annotation
if-nez p0, :cond_0
2020-09-29 21:44:44 +00:00
sget-object p0, Lx/h;->j:Lx/h;
2020-05-17 12:40:10 +00:00
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
2020-09-29 21:44:44 +00:00
sget-object p0, Lx/h;->k:Lx/h;
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_1
2020-09-29 21:44:44 +00:00
sget-object p0, Lx/h;->l:Lx/h;
2020-05-17 12:40:10 +00:00
:goto_0
return-object p0
:cond_2
2020-09-29 21:44:44 +00:00
new-instance v0, Lx/h;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v0}, Lx/h;-><init>()V
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-virtual {v0, p0}, Lx/h;->i(Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
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
2020-09-29 21:44:44 +00:00
.method public b(Lx/d;)Lx/h;
2020-07-08 16:44:49 +00:00
.locals 6
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<TContinuationResult:",
"Ljava/lang/Object;",
">(",
2020-09-29 21:44:44 +00:00
"Lx/d<",
2020-05-17 12:40:10 +00:00
"TTResult;TTContinuationResult;>;)",
2020-09-29 21:44:44 +00:00
"Lx/h<",
2020-05-17 12:40:10 +00:00
"TTContinuationResult;>;"
}
.end annotation
2020-09-29 21:44:44 +00:00
sget-object v0, Lx/h;->i:Ljava/util/concurrent/Executor;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
new-instance v1, Lx/i;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v1}, Lx/i;-><init>()V
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iget-object v2, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
monitor-enter v2
2020-05-17 12:40:10 +00:00
:try_start_0
2020-09-29 21:44:44 +00:00
iget-object v3, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
monitor-enter v3
2020-05-17 12:40:10 +00:00
:try_end_0
2020-07-08 16:44:49 +00:00
.catchall {:try_start_0 .. :try_end_0} :catchall_1
2020-05-17 12:40:10 +00:00
:try_start_1
2020-09-29 21:44:44 +00:00
iget-boolean v4, p0, Lx/h;->b:Z
2020-07-08 16:44:49 +00:00
monitor-exit v3
2020-05-17 12:40:10 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2020-07-08 16:44:49 +00:00
if-nez v4, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:try_start_2
2020-09-29 21:44:44 +00:00
iget-object v3, p0, Lx/h;->h:Ljava/util/List;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
new-instance v5, Lx/e;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v5, p0, v1, p1, v0}, Lx/e;-><init>(Lx/h;Lx/i;Lx/d;Ljava/util/concurrent/Executor;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {v3, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
monitor-exit v2
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v4, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:try_start_3
2020-09-29 21:44:44 +00:00
new-instance v2, Lx/f;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-direct {v2, v1, p1, p0}, Lx/f;-><init>(Lx/i;Lx/d;Lx/h;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {v0, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
:try_end_3
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:catch_0
move-exception p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-instance v0, Lbolts/ExecutorException;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v0, p1}, Lbolts/ExecutorException;-><init>(Ljava/lang/Exception;)V
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
invoke-virtual {v1, v0}, Lx/i;->b(Ljava/lang/Exception;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_1
:goto_0
2020-09-29 21:44:44 +00:00
iget-object p1, v1, Lx/i;->a:Lx/h;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-object p1
2020-05-17 12:40:10 +00:00
:catchall_0
move-exception p1
2020-07-08 16:44:49 +00:00
:try_start_4
monitor-exit v3
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:try_start_5
2020-05-17 12:40:10 +00:00
throw p1
2020-07-08 16:44:49 +00:00
:catchall_1
2020-05-17 12:40:10 +00:00
move-exception p1
2020-07-08 16:44:49 +00:00
monitor-exit v2
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_1
2020-05-17 12:40:10 +00:00
throw p1
.end method
2020-07-08 16:44:49 +00:00
.method public e()Ljava/lang/Exception;
.locals 3
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iget-object v0, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
monitor-enter v0
:try_start_0
2020-09-29 21:44:44 +00:00
iget-object v1, p0, Lx/h;->e:Ljava/lang/Exception;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v1, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v1, 0x1
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iput-boolean v1, p0, Lx/h;->f:Z
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iget-object v1, p0, Lx/h;->g:Lx/j;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v1, :cond_0
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iget-object v1, p0, Lx/h;->g:Lx/j;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v2, 0x0
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iput-object v2, v1, Lx/j;->a:Lx/h;
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iput-object v2, p0, Lx/h;->g:Lx/j;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
2020-09-29 21:44:44 +00:00
iget-object v1, p0, Lx/h;->e:Ljava/lang/Exception;
2020-05-17 12:40:10 +00:00
monitor-exit v0
2020-07-08 16:44:49 +00:00
return-object v1
2020-05-17 12:40:10 +00:00
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
2020-07-08 16:44:49 +00:00
.method public f()Z
2020-05-17 12:40:10 +00:00
.locals 2
2020-09-29 21:44:44 +00:00
iget-object v0, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
monitor-enter v0
:try_start_0
2020-09-29 21:44:44 +00:00
invoke-virtual {p0}, Lx/h;->e()Ljava/lang/Exception;
2020-05-17 12:40:10 +00:00
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
2020-07-08 16:44:49 +00:00
.method public final g()V
2020-05-17 12:40:10 +00:00
.locals 3
2020-09-29 21:44:44 +00:00
iget-object v0, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
monitor-enter v0
:try_start_0
2020-09-29 21:44:44 +00:00
iget-object v1, p0, Lx/h;->h:Ljava/util/List;
2020-05-17 12:40:10 +00:00
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
2020-09-29 21:44:44 +00:00
check-cast v2, Lx/d;
2020-05-17 12:40:10 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:try_start_1
2020-09-29 21:44:44 +00:00
invoke-interface {v2, p0}, Lx/d;->a(Lx/h;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
: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
2020-09-29 21:44:44 +00:00
iput-object v1, p0, Lx/h;->h:Ljava/util/List;
2020-05-17 12:40:10 +00:00
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
2020-07-08 16:44:49 +00:00
.method public h()Z
2020-05-17 12:40:10 +00:00
.locals 3
2020-09-29 21:44:44 +00:00
iget-object v0, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
monitor-enter v0
:try_start_0
2020-09-29 21:44:44 +00:00
iget-boolean v1, p0, Lx/h;->b:Z
2020-05-17 12:40:10 +00:00
if-eqz v1, :cond_0
const/4 v1, 0x0
monitor-exit v0
return v1
:cond_0
const/4 v1, 0x1
2020-09-29 21:44:44 +00:00
iput-boolean v1, p0, Lx/h;->b:Z
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iput-boolean v1, p0, Lx/h;->c:Z
2020-05-17 12:40:10 +00:00
2020-09-29 21:44:44 +00:00
iget-object v2, p0, Lx/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
invoke-virtual {v2}, Ljava/lang/Object;->notifyAll()V
2020-09-29 21:44:44 +00:00
invoke-virtual {p0}, Lx/h;->g()V
2020-05-17 12:40:10 +00:00
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
2020-07-08 16:44:49 +00:00
.method public i(Ljava/lang/Object;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TTResult;)Z"
}
.end annotation
2020-09-29 21:44:44 +00:00
iget-object v0, p0, Lx/h;->a:Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
monitor-enter v0
:try_start_0
2020-09-29 21:44:44 +00:00
iget-boolean v1, p0, Lx/h;->b:Z
2020-07-08 16:44:49 +00:00
if-eqz v1, :cond_0
const/4 p1, 0x0
monitor-exit v0
return p1
:cond_0
const/4 v1, 0x1
2020-09-29 21:44:44 +00:00
iput-boolean v1, p0, Lx/h;->b:Z
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
iput-object p1, p0, Lx/h;->d:Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
iget-object p1, p0, Lx/h;->a:Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
2020-09-29 21:44:44 +00:00
invoke-virtual {p0}, Lx/h;->g()V
2020-07-08 16:44:49 +00:00
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