.class Lcom/google/common/util/concurrent/Callables$2; .super Ljava/lang/Object; .source "Callables.java" # interfaces .implements Lcom/google/common/util/concurrent/AsyncCallable; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/google/common/util/concurrent/Callables;->asAsyncCallable(Ljava/util/concurrent/Callable;Lcom/google/common/util/concurrent/ListeningExecutorService;)Lcom/google/common/util/concurrent/AsyncCallable; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lcom/google/common/util/concurrent/AsyncCallable<", "TT;>;" } .end annotation # instance fields .field public final synthetic val$callable:Ljava/util/concurrent/Callable; .field public final synthetic val$listeningExecutorService:Lcom/google/common/util/concurrent/ListeningExecutorService; # direct methods .method public constructor (Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/concurrent/Callable;)V .locals 0 .line 1 iput-object p1, p0, Lcom/google/common/util/concurrent/Callables$2;->val$listeningExecutorService:Lcom/google/common/util/concurrent/ListeningExecutorService; iput-object p2, p0, Lcom/google/common/util/concurrent/Callables$2;->val$callable:Ljava/util/concurrent/Callable; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public call()Lcom/google/common/util/concurrent/ListenableFuture; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/util/concurrent/ListenableFuture<", "TT;>;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/Exception; } .end annotation .line 1 iget-object v0, p0, Lcom/google/common/util/concurrent/Callables$2;->val$listeningExecutorService:Lcom/google/common/util/concurrent/ListeningExecutorService; iget-object v1, p0, Lcom/google/common/util/concurrent/Callables$2;->val$callable:Ljava/util/concurrent/Callable; invoke-interface {v0, v1}, Lcom/google/common/util/concurrent/ListeningExecutorService;->submit(Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/ListenableFuture; move-result-object v0 return-object v0 .end method