tmap/smali_classes3/com/google/common/util/concurrent/ForwardingFluentFuture.smali
2022-06-10 21:38:30 +09:00

184 lines
5.1 KiB
Smali

.class final Lcom/google/common/util/concurrent/ForwardingFluentFuture;
.super Lcom/google/common/util/concurrent/FluentFuture;
.source "ForwardingFluentFuture.java"
# annotations
.annotation build Lcom/google/common/annotations/GwtCompatible;
.end annotation
.annotation runtime Lcom/google/common/util/concurrent/ElementTypesAreNonnullByDefault;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/util/concurrent/FluentFuture<",
"TV;>;"
}
.end annotation
# instance fields
.field private final delegate:Lcom/google/common/util/concurrent/ListenableFuture;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/util/concurrent/ListenableFuture<",
"TV;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/google/common/util/concurrent/ListenableFuture;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/util/concurrent/ListenableFuture<",
"TV;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lcom/google/common/util/concurrent/FluentFuture;-><init>()V
.line 2
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/google/common/util/concurrent/ListenableFuture;
iput-object p1, p0, Lcom/google/common/util/concurrent/ForwardingFluentFuture;->delegate:Lcom/google/common/util/concurrent/ListenableFuture;
return-void
.end method
# virtual methods
.method public addListener(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
.locals 1
.line 1
iget-object v0, p0, Lcom/google/common/util/concurrent/ForwardingFluentFuture;->delegate:Lcom/google/common/util/concurrent/ListenableFuture;
invoke-interface {v0, p1, p2}, Lcom/google/common/util/concurrent/ListenableFuture;->addListener(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
return-void
.end method
.method public cancel(Z)Z
.locals 1
.line 1
iget-object v0, p0, Lcom/google/common/util/concurrent/ForwardingFluentFuture;->delegate:Lcom/google/common/util/concurrent/ListenableFuture;
invoke-interface {v0, p1}, Ljava/util/concurrent/Future;->cancel(Z)Z
move-result p1
return p1
.end method
.method public get()Ljava/lang/Object;
.locals 1
.annotation runtime Lcom/google/common/util/concurrent/ParametricNullness;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"()TV;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;
}
.end annotation
.line 1
iget-object v0, p0, Lcom/google/common/util/concurrent/ForwardingFluentFuture;->delegate:Lcom/google/common/util/concurrent/ListenableFuture;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
.locals 1
.annotation runtime Lcom/google/common/util/concurrent/ParametricNullness;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
"Ljava/util/concurrent/TimeUnit;",
")TV;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;,
Ljava/util/concurrent/TimeoutException;
}
.end annotation
.line 2
iget-object v0, p0, Lcom/google/common/util/concurrent/ForwardingFluentFuture;->delegate:Lcom/google/common/util/concurrent/ListenableFuture;
invoke-interface {v0, p1, p2, p3}, Ljava/util/concurrent/Future;->get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public isCancelled()Z
.locals 1
.line 1
iget-object v0, p0, Lcom/google/common/util/concurrent/ForwardingFluentFuture;->delegate:Lcom/google/common/util/concurrent/ListenableFuture;
invoke-interface {v0}, Ljava/util/concurrent/Future;->isCancelled()Z
move-result v0
return v0
.end method
.method public isDone()Z
.locals 1
.line 1
iget-object v0, p0, Lcom/google/common/util/concurrent/ForwardingFluentFuture;->delegate:Lcom/google/common/util/concurrent/ListenableFuture;
invoke-interface {v0}, Ljava/util/concurrent/Future;->isDone()Z
move-result v0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 1
.line 1
iget-object v0, p0, Lcom/google/common/util/concurrent/ForwardingFluentFuture;->delegate:Lcom/google/common/util/concurrent/ListenableFuture;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method