apkfuckery/com.discord/smali/x/g.smali

72 lines
1.4 KiB
Smali
Raw Normal View History

2020-09-29 21:44:44 +00:00
.class public final Lx/g;
2020-07-08 16:44:49 +00:00
.super Ljava/lang/Object;
.source "Task.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
2020-09-29 21:44:44 +00:00
.field public final synthetic d:Lx/c;
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
.field public final synthetic e:Lx/i;
2020-07-08 16:44:49 +00:00
.field public final synthetic f:Ljava/util/concurrent/Callable;
# direct methods
2020-09-29 21:44:44 +00:00
.method public constructor <init>(Lx/i;Ljava/util/concurrent/Callable;)V
2020-07-08 16:44:49 +00:00
.locals 1
const/4 v0, 0x0
2020-09-29 21:44:44 +00:00
iput-object v0, p0, Lx/g;->d:Lx/c;
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
iput-object p1, p0, Lx/g;->e:Lx/i;
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
iput-object p2, p0, Lx/g;->f:Ljava/util/concurrent/Callable;
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
:try_start_0
2020-09-29 21:44:44 +00:00
iget-object v0, p0, Lx/g;->e:Lx/i;
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
iget-object v1, p0, Lx/g;->f:Ljava/util/concurrent/Callable;
2020-07-08 16:44:49 +00:00
invoke-interface {v1}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v1
2020-09-29 21:44:44 +00:00
invoke-virtual {v0, v1}, Lx/i;->c(Ljava/lang/Object;)V
2020-07-08 16:44:49 +00:00
:try_end_0
.catch Ljava/util/concurrent/CancellationException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
2020-09-29 21:44:44 +00:00
iget-object v1, p0, Lx/g;->e:Lx/i;
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
invoke-virtual {v1, v0}, Lx/i;->b(Ljava/lang/Exception;)V
2020-07-08 16:44:49 +00:00
goto :goto_0
:catch_1
2020-09-29 21:44:44 +00:00
iget-object v0, p0, Lx/g;->e:Lx/i;
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
invoke-virtual {v0}, Lx/i;->a()V
2020-07-08 16:44:49 +00:00
:goto_0
return-void
.end method