94 lines
2 KiB
Smali
94 lines
2 KiB
Smali
.class public final Lu/a/e;
|
|
.super Lu/a/f;
|
|
.source "Future.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Ljava/util/concurrent/Future;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/Future<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/concurrent/Future;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Future<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0}, Lu/a/f;-><init>()V
|
|
|
|
iput-object p1, p0, Lu/a/e;->d:Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "future"
|
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
iget-object p1, p0, Lu/a/e;->d:Ljava/util/concurrent/Future;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/concurrent/Future;->cancel(Z)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
invoke-virtual {p0, p1}, Lu/a/e;->a(Ljava/lang/Throwable;)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "CancelFutureOnCancel["
|
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lu/a/e;->d:Ljava/util/concurrent/Future;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x5d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|