You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
2.3 KiB
122 lines
2.3 KiB
.class Lbolts/Task$3; |
|
.super Ljava/lang/Object; |
|
.source "Task.java" |
|
|
|
# interfaces |
|
.implements Lbolts/Continuation; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lbolts/Task;->makeVoid()Lbolts/Task; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/lang/Object;", |
|
"Lbolts/Continuation", |
|
"<TTResult;", |
|
"Lbolts/Task", |
|
"<", |
|
"Ljava/lang/Void;", |
|
">;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lbolts/Task; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lbolts/Task;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 300 |
|
iput-object p1, p0, Lbolts/Task$3;->this$0:Lbolts/Task; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public then(Lbolts/Task;)Lbolts/Task; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lbolts/Task", |
|
"<TTResult;>;)", |
|
"Lbolts/Task", |
|
"<", |
|
"Ljava/lang/Void;", |
|
">;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 303 |
|
invoke-virtual {p1}, Lbolts/Task;->isCancelled()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 304 |
|
invoke-static {}, Lbolts/Task;->cancelled()Lbolts/Task; |
|
|
|
move-result-object v0 |
|
|
|
.line 309 |
|
:goto_0 |
|
return-object v0 |
|
|
|
.line 306 |
|
:cond_0 |
|
invoke-virtual {p1}, Lbolts/Task;->isFaulted()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 307 |
|
invoke-virtual {p1}, Lbolts/Task;->getError()Ljava/lang/Exception; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0}, Lbolts/Task;->forError(Ljava/lang/Exception;)Lbolts/Task; |
|
|
|
move-result-object v0 |
|
|
|
goto :goto_0 |
|
|
|
.line 309 |
|
:cond_1 |
|
const/4 v0, 0x0 |
|
|
|
invoke-static {v0}, Lbolts/Task;->forResult(Ljava/lang/Object;)Lbolts/Task; |
|
|
|
move-result-object v0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public bridge synthetic then(Lbolts/Task;)Ljava/lang/Object; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 300 |
|
invoke-virtual {p0, p1}, Lbolts/Task$3;->then(Lbolts/Task;)Lbolts/Task; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|