.class final Lcom/google/common/util/concurrent/CombinedFuture$AsyncCallableInterruptibleTask; .super Lcom/google/common/util/concurrent/CombinedFuture$CombinedFutureInterruptibleTask; .source "CombinedFuture.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/util/concurrent/CombinedFuture; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x11 name = "AsyncCallableInterruptibleTask" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/util/concurrent/CombinedFuture<", "TV;>.CombinedFutureInterruptibleTask<", "Lcom/google/common/util/concurrent/ListenableFuture<", "TV;>;>;" } .end annotation # instance fields .field private final callable:Lcom/google/common/util/concurrent/AsyncCallable; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/util/concurrent/AsyncCallable<", "TV;>;" } .end annotation .end field .field public final synthetic this$0:Lcom/google/common/util/concurrent/CombinedFuture; # direct methods .method public constructor (Lcom/google/common/util/concurrent/CombinedFuture;Lcom/google/common/util/concurrent/AsyncCallable;Ljava/util/concurrent/Executor;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/util/concurrent/AsyncCallable<", "TV;>;", "Ljava/util/concurrent/Executor;", ")V" } .end annotation .line 1 iput-object p1, p0, Lcom/google/common/util/concurrent/CombinedFuture$AsyncCallableInterruptibleTask;->this$0:Lcom/google/common/util/concurrent/CombinedFuture; .line 2 invoke-direct {p0, p1, p3}, Lcom/google/common/util/concurrent/CombinedFuture$CombinedFutureInterruptibleTask;->(Lcom/google/common/util/concurrent/CombinedFuture;Ljava/util/concurrent/Executor;)V .line 3 invoke-static {p2}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Lcom/google/common/util/concurrent/AsyncCallable; iput-object p1, p0, Lcom/google/common/util/concurrent/CombinedFuture$AsyncCallableInterruptibleTask;->callable:Lcom/google/common/util/concurrent/AsyncCallable; return-void .end method # virtual methods .method public runInterruptibly()Lcom/google/common/util/concurrent/ListenableFuture; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/util/concurrent/ListenableFuture<", "TV;>;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/Exception; } .end annotation .line 2 iget-object v0, p0, Lcom/google/common/util/concurrent/CombinedFuture$AsyncCallableInterruptibleTask;->callable:Lcom/google/common/util/concurrent/AsyncCallable; invoke-interface {v0}, Lcom/google/common/util/concurrent/AsyncCallable;->call()Lcom/google/common/util/concurrent/ListenableFuture; move-result-object v0 .line 3 iget-object v1, p0, Lcom/google/common/util/concurrent/CombinedFuture$AsyncCallableInterruptibleTask;->callable:Lcom/google/common/util/concurrent/AsyncCallable; const-string v2, "AsyncCallable.call returned null instead of a Future. Did you mean to return immediateFuture(null)? %s" invoke-static {v0, v2, v1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/common/util/concurrent/ListenableFuture; return-object v0 .end method .method public bridge synthetic runInterruptibly()Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/Exception; } .end annotation .line 1 invoke-virtual {p0}, Lcom/google/common/util/concurrent/CombinedFuture$AsyncCallableInterruptibleTask;->runInterruptibly()Lcom/google/common/util/concurrent/ListenableFuture; move-result-object v0 return-object v0 .end method .method public setValue(Lcom/google/common/util/concurrent/ListenableFuture;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/util/concurrent/ListenableFuture<", "TV;>;)V" } .end annotation .line 2 iget-object v0, p0, Lcom/google/common/util/concurrent/CombinedFuture$AsyncCallableInterruptibleTask;->this$0:Lcom/google/common/util/concurrent/CombinedFuture; invoke-virtual {v0, p1}, Lcom/google/common/util/concurrent/AbstractFuture;->setFuture(Lcom/google/common/util/concurrent/ListenableFuture;)Z return-void .end method .method public bridge synthetic setValue(Ljava/lang/Object;)V .locals 0 .line 1 check-cast p1, Lcom/google/common/util/concurrent/ListenableFuture; invoke-virtual {p0, p1}, Lcom/google/common/util/concurrent/CombinedFuture$AsyncCallableInterruptibleTask;->setValue(Lcom/google/common/util/concurrent/ListenableFuture;)V return-void .end method .method public toPendingString()Ljava/lang/String; .locals 1 .line 1 iget-object v0, p0, Lcom/google/common/util/concurrent/CombinedFuture$AsyncCallableInterruptibleTask;->callable:Lcom/google/common/util/concurrent/AsyncCallable; invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v0 return-object v0 .end method