apkfuckery/com.discord/smali/androidx/concurrent/futures/AbstractResolvableFuture$SetFuture.smali

109 lines
3.4 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Landroidx/concurrent/futures/AbstractResolvableFuture$SetFuture;
.super Ljava/lang/Object;
.source "AbstractResolvableFuture.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/concurrent/futures/AbstractResolvableFuture;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "SetFuture"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/lang/Runnable;"
}
.end annotation
# instance fields
2020-07-23 01:06:17 +00:00
.field public final future:Lf/h/b/a/a/a;
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-23 01:06:17 +00:00
"Lf/h/b/a/a/a<",
2020-07-08 16:44:49 +00:00
"+TV;>;"
}
.end annotation
.end field
.field public final owner:Landroidx/concurrent/futures/AbstractResolvableFuture;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/concurrent/futures/AbstractResolvableFuture<",
"TV;>;"
}
.end annotation
.end field
# direct methods
2020-07-23 01:06:17 +00:00
.method public constructor <init>(Landroidx/concurrent/futures/AbstractResolvableFuture;Lf/h/b/a/a/a;)V
2020-07-08 16:44:49 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/concurrent/futures/AbstractResolvableFuture<",
"TV;>;",
2020-07-23 01:06:17 +00:00
"Lf/h/b/a/a/a<",
2020-07-08 16:44:49 +00:00
"+TV;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SetFuture;->owner:Landroidx/concurrent/futures/AbstractResolvableFuture;
2020-07-23 01:06:17 +00:00
iput-object p2, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SetFuture;->future:Lf/h/b/a/a/a;
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-object v0, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SetFuture;->owner:Landroidx/concurrent/futures/AbstractResolvableFuture;
iget-object v0, v0, Landroidx/concurrent/futures/AbstractResolvableFuture;->value:Ljava/lang/Object;
if-eq v0, p0, :cond_0
return-void
:cond_0
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SetFuture;->future:Lf/h/b/a/a/a;
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v0}, Landroidx/concurrent/futures/AbstractResolvableFuture;->getFutureValue(Lf/h/b/a/a/a;)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
move-result-object v0
sget-object v1, Landroidx/concurrent/futures/AbstractResolvableFuture;->ATOMIC_HELPER:Landroidx/concurrent/futures/AbstractResolvableFuture$AtomicHelper;
iget-object v2, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SetFuture;->owner:Landroidx/concurrent/futures/AbstractResolvableFuture;
invoke-virtual {v1, v2, p0, v0}, Landroidx/concurrent/futures/AbstractResolvableFuture$AtomicHelper;->casValue(Landroidx/concurrent/futures/AbstractResolvableFuture;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SetFuture;->owner:Landroidx/concurrent/futures/AbstractResolvableFuture;
invoke-static {v0}, Landroidx/concurrent/futures/AbstractResolvableFuture;->complete(Landroidx/concurrent/futures/AbstractResolvableFuture;)V
:cond_1
return-void
.end method