apkfuckery/com.discord/smali/androidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture$1.smali
2020-09-09 19:21:20 +00:00

80 lines
2.5 KiB
Smali

.class public Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture$1;
.super Landroidx/concurrent/futures/AbstractResolvableFuture;
.source "CallbackToFutureAdapter.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/concurrent/futures/AbstractResolvableFuture<",
"TT;>;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;
# direct methods
.method public constructor <init>(Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;)V
.locals 0
iput-object p1, p0, Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture$1;->this$0:Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;
invoke-direct {p0}, Landroidx/concurrent/futures/AbstractResolvableFuture;-><init>()V
return-void
.end method
# virtual methods
.method public pendingToString()Ljava/lang/String;
.locals 2
iget-object v0, p0, Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture$1;->this$0:Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;
iget-object v0, v0, Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;->completerWeakReference:Ljava/lang/ref/WeakReference;
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;
if-nez v0, :cond_0
const-string v0, "Completer object has been garbage collected, future will fail soon"
return-object v0
:cond_0
const-string/jumbo v1, "tag=["
invoke-static {v1}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
iget-object v0, v0, Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;->tag:Ljava/lang/Object;
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v0, "]"
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method