207 lines
4.4 KiB
Smali
207 lines
4.4 KiB
Smali
|
.class public final enum Lrx/internal/util/e;
|
||
|
.super Ljava/lang/Enum;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/lang/Enum<",
|
||
|
"Lrx/internal/util/e;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final ctv:Ljava/lang/Throwable;
|
||
|
|
||
|
.field private static final synthetic ctw:[Lrx/internal/util/e;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
new-array v0, v0, [Lrx/internal/util/e;
|
||
|
|
||
|
sput-object v0, Lrx/internal/util/e;->ctw:[Lrx/internal/util/e;
|
||
|
|
||
|
new-instance v0, Ljava/lang/Throwable;
|
||
|
|
||
|
const-string v1, "Terminated"
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/Throwable;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Lrx/internal/util/e;->ctv:Ljava/lang/Throwable;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static M(Ljava/lang/Throwable;)Z
|
||
|
.locals 1
|
||
|
|
||
|
sget-object v0, Lrx/internal/util/e;->ctv:Ljava/lang/Throwable;
|
||
|
|
||
|
if-ne p0, v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static a(Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/Throwable;)Z
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/concurrent/atomic/AtomicReference<",
|
||
|
"Ljava/lang/Throwable;",
|
||
|
">;",
|
||
|
"Ljava/lang/Throwable;",
|
||
|
")Z"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
:cond_0
|
||
|
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Throwable;
|
||
|
|
||
|
sget-object v1, Lrx/internal/util/e;->ctv:Ljava/lang/Throwable;
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
if-ne v0, v1, :cond_1
|
||
|
|
||
|
return v2
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-nez v0, :cond_2
|
||
|
|
||
|
move-object v3, p1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
instance-of v3, v0, Lrx/a/a;
|
||
|
|
||
|
if-eqz v3, :cond_3
|
||
|
|
||
|
new-instance v3, Ljava/util/ArrayList;
|
||
|
|
||
|
move-object v4, v0
|
||
|
|
||
|
check-cast v4, Lrx/a/a;
|
||
|
|
||
|
iget-object v4, v4, Lrx/a/a;->exceptions:Ljava/util/List;
|
||
|
|
||
|
invoke-direct {v3, v4}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
||
|
|
||
|
invoke-interface {v3, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
new-instance v4, Lrx/a/a;
|
||
|
|
||
|
invoke-direct {v4, v3, v2}, Lrx/a/a;-><init>(Ljava/util/Collection;B)V
|
||
|
|
||
|
move-object v3, v4
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
new-instance v3, Lrx/a/a;
|
||
|
|
||
|
const/4 v4, 0x2
|
||
|
|
||
|
new-array v4, v4, [Ljava/lang/Throwable;
|
||
|
|
||
|
aput-object v0, v4, v2
|
||
|
|
||
|
aput-object p1, v4, v1
|
||
|
|
||
|
invoke-direct {v3, v4}, Lrx/a/a;-><init>([Ljava/lang/Throwable;)V
|
||
|
|
||
|
:goto_0
|
||
|
invoke-virtual {p0, v0, v3}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
return v1
|
||
|
.end method
|
||
|
|
||
|
.method public static b(Ljava/util/concurrent/atomic/AtomicReference;)Ljava/lang/Throwable;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/concurrent/atomic/AtomicReference<",
|
||
|
"Ljava/lang/Throwable;",
|
||
|
">;)",
|
||
|
"Ljava/lang/Throwable;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Throwable;
|
||
|
|
||
|
sget-object v1, Lrx/internal/util/e;->ctv:Ljava/lang/Throwable;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
sget-object v0, Lrx/internal/util/e;->ctv:Ljava/lang/Throwable;
|
||
|
|
||
|
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Throwable;
|
||
|
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static valueOf(Ljava/lang/String;)Lrx/internal/util/e;
|
||
|
.locals 1
|
||
|
|
||
|
const-class v0, Lrx/internal/util/e;
|
||
|
|
||
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Lrx/internal/util/e;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static values()[Lrx/internal/util/e;
|
||
|
.locals 1
|
||
|
|
||
|
sget-object v0, Lrx/internal/util/e;->ctw:[Lrx/internal/util/e;
|
||
|
|
||
|
invoke-virtual {v0}, [Lrx/internal/util/e;->clone()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, [Lrx/internal/util/e;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|