.class Lbolts/Task$15$1; .super Ljava/lang/Object; .source "Task.java" # interfaces .implements Lbolts/Continuation; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lbolts/Task$15;->run()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lbolts/Continuation", ";" } .end annotation # instance fields .field final synthetic this$0:Lbolts/Task$15; # direct methods .method constructor (Lbolts/Task$15;)V .locals 0 .prologue .line 921 iput-object p1, p0, Lbolts/Task$15$1;->this$0:Lbolts/Task$15; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public bridge synthetic then(Lbolts/Task;)Ljava/lang/Object; .locals 1 .prologue .line 921 invoke-virtual {p0, p1}, Lbolts/Task$15$1;->then(Lbolts/Task;)Ljava/lang/Void; move-result-object v0 return-object v0 .end method .method public then(Lbolts/Task;)Ljava/lang/Void; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lbolts/Task", ";)", "Ljava/lang/Void;" } .end annotation .prologue const/4 v2, 0x0 .line 924 iget-object v0, p0, Lbolts/Task$15$1;->this$0:Lbolts/Task$15; iget-object v0, v0, Lbolts/Task$15;->val$ct:Lbolts/CancellationToken; if-eqz v0, :cond_0 iget-object v0, p0, Lbolts/Task$15$1;->this$0:Lbolts/Task$15; iget-object v0, v0, Lbolts/Task$15;->val$ct:Lbolts/CancellationToken; invoke-virtual {v0}, Lbolts/CancellationToken;->isCancellationRequested()Z move-result v0 if-eqz v0, :cond_0 .line 925 iget-object v0, p0, Lbolts/Task$15$1;->this$0:Lbolts/Task$15; iget-object v0, v0, Lbolts/Task$15;->val$tcs:Lbolts/TaskCompletionSource; invoke-virtual {v0}, Lbolts/TaskCompletionSource;->setCancelled()V .line 936 :goto_0 return-object v2 .line 929 :cond_0 invoke-virtual {p1}, Lbolts/Task;->isCancelled()Z move-result v0 if-eqz v0, :cond_1 .line 930 iget-object v0, p0, Lbolts/Task$15$1;->this$0:Lbolts/Task$15; iget-object v0, v0, Lbolts/Task$15;->val$tcs:Lbolts/TaskCompletionSource; invoke-virtual {v0}, Lbolts/TaskCompletionSource;->setCancelled()V goto :goto_0 .line 931 :cond_1 invoke-virtual {p1}, Lbolts/Task;->isFaulted()Z move-result v0 if-eqz v0, :cond_2 .line 932 iget-object v0, p0, Lbolts/Task$15$1;->this$0:Lbolts/Task$15; iget-object v0, v0, Lbolts/Task$15;->val$tcs:Lbolts/TaskCompletionSource; invoke-virtual {p1}, Lbolts/Task;->getError()Ljava/lang/Exception; move-result-object v1 invoke-virtual {v0, v1}, Lbolts/TaskCompletionSource;->setError(Ljava/lang/Exception;)V goto :goto_0 .line 934 :cond_2 iget-object v0, p0, Lbolts/Task$15$1;->this$0:Lbolts/Task$15; iget-object v0, v0, Lbolts/Task$15;->val$tcs:Lbolts/TaskCompletionSource; invoke-virtual {p1}, Lbolts/Task;->getResult()Ljava/lang/Object; move-result-object v1 invoke-virtual {v0, v1}, Lbolts/TaskCompletionSource;->setResult(Ljava/lang/Object;)V goto :goto_0 .end method