apkfuckery/com.discord/smali_classes2/rx/b/a.smali

177 lines
4.2 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lrx/b/a;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "BlockingObservable.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# static fields
2019-03-16 01:04:31 +00:00
.field static final bJS:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
.field static final bJT:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
.field static final bJU:Ljava/lang/Object;
2019-02-22 00:19:04 +00:00
2019-02-04 20:08:30 +00:00
# instance fields
2019-03-16 01:04:31 +00:00
.field public final bJR:Lrx/Observable;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Observable<",
"+TT;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
2019-03-16 01:04:31 +00:00
sput-object v0, Lrx/b/a;->bJS:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
2019-03-16 01:04:31 +00:00
sput-object v0, Lrx/b/a;->bJT:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
2019-03-16 01:04:31 +00:00
sput-object v0, Lrx/b/a;->bJU:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method private constructor <init>(Lrx/Observable;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Observable<",
"+TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-03-16 01:04:31 +00:00
iput-object p1, p0, Lrx/b/a;->bJR:Lrx/Observable;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method public static g(Lrx/Observable;)Lrx/b/a;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/Observable<",
"+TT;>;)",
"Lrx/b/a<",
"TT;>;"
}
.end annotation
new-instance v0, Lrx/b/a;
invoke-direct {v0, p0}, Lrx/b/a;-><init>(Lrx/Observable;)V
return-object v0
.end method
.method private h(Lrx/Observable;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Observable<",
"+TT;>;)TT;"
}
.end annotation
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
new-instance v1, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
new-instance v2, Ljava/util/concurrent/CountDownLatch;
const/4 v3, 0x1
invoke-direct {v2, v3}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V
new-instance v3, Lrx/b/a$1;
invoke-direct {v3, p0, v2, v1, v0}, Lrx/b/a$1;-><init>(Lrx/b/a;Ljava/util/concurrent/CountDownLatch;Ljava/util/concurrent/atomic/AtomicReference;Ljava/util/concurrent/atomic/AtomicReference;)V
invoke-static {v3, p1}, Lrx/Observable;->a(Lrx/Subscriber;Lrx/Observable;)Lrx/Subscription;
move-result-object p1
invoke-static {v2, p1}, Lrx/internal/util/d;->a(Ljava/util/concurrent/CountDownLatch;Lrx/Subscription;)V
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p1
if-eqz p1, :cond_0
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Throwable;
invoke-static {p1}, Lrx/a/b;->c(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
:cond_0
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
# virtual methods
2019-03-08 06:19:26 +00:00
.method public final EN()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lrx/b/a;->bJR:Lrx/Observable;
2019-02-04 20:08:30 +00:00
2019-03-08 06:19:26 +00:00
invoke-virtual {v0}, Lrx/Observable;->DE()Lrx/Observable;
2019-02-04 20:08:30 +00:00
move-result-object v0
invoke-direct {p0, v0}, Lrx/b/a;->h(Lrx/Observable;)Ljava/lang/Object;
move-result-object v0
return-object v0
.end method