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

119 lines
3.4 KiB
Smali

.class final Lcom/google/common/util/concurrent/AbstractCatchingFuture$CatchingFuture;
.super Lcom/google/common/util/concurrent/AbstractCatchingFuture;
.source "AbstractCatchingFuture.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/util/concurrent/AbstractCatchingFuture;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CatchingFuture"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
"X:",
"Ljava/lang/Throwable;",
">",
"Lcom/google/common/util/concurrent/AbstractCatchingFuture<",
"TV;TX;",
"Lcom/google/common/base/Function<",
"-TX;+TV;>;TV;>;"
}
.end annotation
# direct methods
.method public constructor <init>(Lcom/google/common/util/concurrent/ListenableFuture;Ljava/lang/Class;Lcom/google/common/base/Function;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/util/concurrent/ListenableFuture<",
"+TV;>;",
"Ljava/lang/Class<",
"TX;>;",
"Lcom/google/common/base/Function<",
"-TX;+TV;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2, p3}, Lcom/google/common/util/concurrent/AbstractCatchingFuture;-><init>(Lcom/google/common/util/concurrent/ListenableFuture;Ljava/lang/Class;Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public doFallback(Lcom/google/common/base/Function;Ljava/lang/Throwable;)Ljava/lang/Object;
.locals 0
.annotation runtime Lcom/google/common/util/concurrent/ParametricNullness;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/base/Function<",
"-TX;+TV;>;TX;)TV;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 2
invoke-interface {p1, p2}, Lcom/google/common/base/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic doFallback(Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;
.locals 0
.annotation runtime Lcom/google/common/util/concurrent/ParametricNullness;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Lcom/google/common/base/Function;
invoke-virtual {p0, p1, p2}, Lcom/google/common/util/concurrent/AbstractCatchingFuture$CatchingFuture;->doFallback(Lcom/google/common/base/Function;Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public setResult(Ljava/lang/Object;)V
.locals 0
.param p1 # Ljava/lang/Object;
.annotation runtime Lcom/google/common/util/concurrent/ParametricNullness;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)V"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lcom/google/common/util/concurrent/AbstractFuture;->set(Ljava/lang/Object;)Z
return-void
.end method