.class final Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/work/impl/utils/futures/AbstractFuture; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Cancellation" .end annotation # static fields .field static final CAUSELESS_CANCELLED:Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation; .field static final CAUSELESS_INTERRUPTED:Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation; # instance fields .field final cause:Ljava/lang/Throwable; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field final wasInterrupted:Z # direct methods .method static constructor ()V .locals 3 .line 244 sget-boolean v0, Landroidx/work/impl/utils/futures/AbstractFuture;->GENERATE_CANCELLATION_CAUSES:Z const/4 v1, 0x0 if-eqz v0, :cond_0 sput-object v1, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation;->CAUSELESS_CANCELLED:Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation; sput-object v1, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation;->CAUSELESS_INTERRUPTED:Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation; goto :goto_0 .line 248 :cond_0 new-instance v0, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation; const/4 v2, 0x0 invoke-direct {v0, v2, v1}, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation;->(ZLjava/lang/Throwable;)V sput-object v0, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation;->CAUSELESS_CANCELLED:Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation; .line 249 new-instance v0, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation; const/4 v2, 0x1 invoke-direct {v0, v2, v1}, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation;->(ZLjava/lang/Throwable;)V sput-object v0, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation;->CAUSELESS_INTERRUPTED:Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation; :goto_0 return-void .end method .method public constructor (ZLjava/lang/Throwable;)V .locals 0 .param p2 # Ljava/lang/Throwable; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .line 257 invoke-direct {p0}, Ljava/lang/Object;->()V iput-boolean p1, p0, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation;->wasInterrupted:Z iput-object p2, p0, Landroidx/work/impl/utils/futures/AbstractFuture$Cancellation;->cause:Ljava/lang/Throwable; return-void .end method