Changes of com.discord v1325
This commit is contained in:
parent
d9d9f382c9
commit
3cb9e1231d
28086 changed files with 4880345 additions and 0 deletions
159
com.discord/smali_classes2/rx/Emitter$BackpressureMode.smali
Normal file
159
com.discord/smali_classes2/rx/Emitter$BackpressureMode.smali
Normal file
|
@ -0,0 +1,159 @@
|
|||
.class public final enum Lrx/Emitter$BackpressureMode;
|
||||
.super Ljava/lang/Enum;
|
||||
.source "Emitter.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Emitter;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x4019
|
||||
name = "BackpressureMode"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Enum<",
|
||||
"Lrx/Emitter$BackpressureMode;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final enum d:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final enum e:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final enum f:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final enum g:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final enum h:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final synthetic i:[Lrx/Emitter$BackpressureMode;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 8
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const-string v1, "NONE"
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {v0, v1, v2}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->d:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const-string v1, "ERROR"
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-direct {v0, v1, v3}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->e:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const-string v1, "BUFFER"
|
||||
|
||||
const/4 v4, 0x2
|
||||
|
||||
invoke-direct {v0, v1, v4}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->f:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const-string v1, "DROP"
|
||||
|
||||
const/4 v5, 0x3
|
||||
|
||||
invoke-direct {v0, v1, v5}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->g:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const-string v1, "LATEST"
|
||||
|
||||
const/4 v6, 0x4
|
||||
|
||||
invoke-direct {v0, v1, v6}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->h:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const/4 v1, 0x5
|
||||
|
||||
new-array v1, v1, [Lrx/Emitter$BackpressureMode;
|
||||
|
||||
sget-object v7, Lrx/Emitter$BackpressureMode;->d:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v7, v1, v2
|
||||
|
||||
sget-object v2, Lrx/Emitter$BackpressureMode;->e:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v2, v1, v3
|
||||
|
||||
sget-object v2, Lrx/Emitter$BackpressureMode;->f:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v2, v1, v4
|
||||
|
||||
sget-object v2, Lrx/Emitter$BackpressureMode;->g:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v2, v1, v5
|
||||
|
||||
aput-object v0, v1, v6
|
||||
|
||||
sput-object v1, Lrx/Emitter$BackpressureMode;->i:[Lrx/Emitter$BackpressureMode;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;I)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static valueOf(Ljava/lang/String;)Lrx/Emitter$BackpressureMode;
|
||||
.locals 1
|
||||
|
||||
const-class v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
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/Emitter$BackpressureMode;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static values()[Lrx/Emitter$BackpressureMode;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lrx/Emitter$BackpressureMode;->i:[Lrx/Emitter$BackpressureMode;
|
||||
|
||||
invoke-virtual {v0}, [Lrx/Emitter$BackpressureMode;->clone()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/Emitter$BackpressureMode;
|
||||
|
||||
return-object v0
|
||||
.end method
|
25
com.discord/smali_classes2/rx/Emitter.smali
Normal file
25
com.discord/smali_classes2/rx/Emitter.smali
Normal file
|
@ -0,0 +1,25 @@
|
|||
.class public interface abstract Lrx/Emitter;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Emitter.java"
|
||||
|
||||
# interfaces
|
||||
.implements Li0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/Emitter$BackpressureMode;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Li0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
29
com.discord/smali_classes2/rx/Observable$a.smali
Normal file
29
com.discord/smali_classes2/rx/Observable$a.smali
Normal file
|
@ -0,0 +1,29 @@
|
|||
.class public interface abstract Lrx/Observable$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Observable.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;>;"
|
||||
}
|
||||
.end annotation
|
33
com.discord/smali_classes2/rx/Observable$b.smali
Normal file
33
com.discord/smali_classes2/rx/Observable$b.smali
Normal file
|
@ -0,0 +1,33 @@
|
|||
.class public interface abstract Lrx/Observable$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Observable.java"
|
||||
|
||||
# interfaces
|
||||
.implements Li0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<R:",
|
||||
"Ljava/lang/Object;",
|
||||
"T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Li0/k/b<",
|
||||
"Lrx/Subscriber<",
|
||||
"-TR;>;",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;>;"
|
||||
}
|
||||
.end annotation
|
33
com.discord/smali_classes2/rx/Observable$c.smali
Normal file
33
com.discord/smali_classes2/rx/Observable$c.smali
Normal file
|
@ -0,0 +1,33 @@
|
|||
.class public interface abstract Lrx/Observable$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Observable.java"
|
||||
|
||||
# interfaces
|
||||
.implements Li0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "c"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Li0/k/b<",
|
||||
"Lrx/Observable<",
|
||||
"TT;>;",
|
||||
"Lrx/Observable<",
|
||||
"TR;>;>;"
|
||||
}
|
||||
.end annotation
|
2564
com.discord/smali_classes2/rx/Observable.smali
Normal file
2564
com.discord/smali_classes2/rx/Observable.smali
Normal file
File diff suppressed because it is too large
Load diff
8
com.discord/smali_classes2/rx/Producer.smali
Normal file
8
com.discord/smali_classes2/rx/Producer.smali
Normal file
|
@ -0,0 +1,8 @@
|
|||
.class public interface abstract Lrx/Producer;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Producer.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract n(J)V
|
||||
.end method
|
57
com.discord/smali_classes2/rx/Scheduler$Worker.smali
Normal file
57
com.discord/smali_classes2/rx/Scheduler$Worker.smali
Normal file
|
@ -0,0 +1,57 @@
|
|||
.class public abstract Lrx/Scheduler$Worker;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Scheduler.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Scheduler;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "Worker"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(Lrx/functions/Action0;)Lrx/Subscription;
|
||||
.end method
|
||||
|
||||
.method public abstract b(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
.end method
|
||||
|
||||
.method public c(Lrx/functions/Action0;JJLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
.locals 8
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
move-wide v2, p2
|
||||
|
||||
move-wide v4, p4
|
||||
|
||||
move-object v6, p6
|
||||
|
||||
invoke-static/range {v0 .. v7}, Li0/l/c/h;->a(Lrx/Scheduler$Worker;Lrx/functions/Action0;JJLjava/util/concurrent/TimeUnit;Li0/l/c/h$b;)Lrx/Subscription;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
26
com.discord/smali_classes2/rx/Scheduler.smali
Normal file
26
com.discord/smali_classes2/rx/Scheduler.smali
Normal file
|
@ -0,0 +1,26 @@
|
|||
.class public abstract Lrx/Scheduler;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Scheduler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/Scheduler$Worker;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a()Lrx/Scheduler$Worker;
|
||||
.end method
|
316
com.discord/smali_classes2/rx/Subscriber.smali
Normal file
316
com.discord/smali_classes2/rx/Subscriber.smali
Normal file
|
@ -0,0 +1,316 @@
|
|||
.class public abstract Lrx/Subscriber;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Subscriber.java"
|
||||
|
||||
# interfaces
|
||||
.implements Li0/g;
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Li0/g<",
|
||||
"TT;>;",
|
||||
"Lrx/Subscription;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final NOT_SET:J = -0x8000000000000000L
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public producer:Lrx/Producer;
|
||||
|
||||
.field public requested:J
|
||||
|
||||
.field public final subscriber:Lrx/Subscriber;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/Subscriber<",
|
||||
"*>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {p0, v0, v1}, Lrx/Subscriber;-><init>(Lrx/Subscriber;Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lrx/Subscriber;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"*>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-direct {p0, p1, v0}, Lrx/Subscriber;-><init>(Lrx/Subscriber;Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lrx/Subscriber;Z)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"*>;Z)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const-wide/high16 v0, -0x8000000000000000L
|
||||
|
||||
iput-wide v0, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
iput-object p1, p0, Lrx/Subscriber;->subscriber:Lrx/Subscriber;
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p1, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Lrx/internal/util/SubscriptionList;
|
||||
|
||||
invoke-direct {p1}, Lrx/internal/util/SubscriptionList;-><init>()V
|
||||
|
||||
:goto_0
|
||||
iput-object p1, p0, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private addToRequested(J)V
|
||||
.locals 5
|
||||
|
||||
iget-wide v0, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
iput-wide p1, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
add-long/2addr v0, p1
|
||||
|
||||
const-wide/16 p1, 0x0
|
||||
|
||||
cmp-long v2, v0, p1
|
||||
|
||||
if-gez v2, :cond_1
|
||||
|
||||
const-wide p1, 0x7fffffffffffffffL
|
||||
|
||||
iput-wide p1, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
iput-wide v0, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final add(Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/internal/util/SubscriptionList;->a(Lrx/Subscription;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
iget-boolean v0, v0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public onStart()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final request(J)V
|
||||
.locals 3
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-ltz v2, :cond_1
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-interface {v0, p1, p2}, Lrx/Producer;->n(J)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
:try_start_1
|
||||
invoke-direct {p0, p1, p2}, Lrx/Subscriber;->addToRequested(J)V
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v1, "number requested cannot be negative: "
|
||||
|
||||
invoke-static {v1, p1, p2}, Lf/e/c/a/a;->n(Ljava/lang/String;J)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public setProducer(Lrx/Producer;)V
|
||||
.locals 4
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-wide v0, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
iput-object p1, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
iget-object p1, p0, Lrx/Subscriber;->subscriber:Lrx/Subscriber;
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
cmp-long p1, v0, v2
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Lrx/Subscriber;->subscriber:Lrx/Subscriber;
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
cmp-long p1, v0, v2
|
||||
|
||||
if-nez p1, :cond_2
|
||||
|
||||
iget-object p1, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
const-wide v0, 0x7fffffffffffffffL
|
||||
|
||||
invoke-interface {p1, v0, v1}, Lrx/Producer;->n(J)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
iget-object p1, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
invoke-interface {p1, v0, v1}, Lrx/Producer;->n(J)V
|
||||
|
||||
:goto_1
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_1
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final unsubscribe()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
invoke-virtual {v0}, Lrx/internal/util/SubscriptionList;->unsubscribe()V
|
||||
|
||||
return-void
|
||||
.end method
|
11
com.discord/smali_classes2/rx/Subscription.smali
Normal file
11
com.discord/smali_classes2/rx/Subscription.smali
Normal file
|
@ -0,0 +1,11 @@
|
|||
.class public interface abstract Lrx/Subscription;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Subscription.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract isUnsubscribed()Z
|
||||
.end method
|
||||
|
||||
.method public abstract unsubscribe()V
|
||||
.end method
|
12
com.discord/smali_classes2/rx/android/R.smali
Normal file
12
com.discord/smali_classes2/rx/android/R.smali
Normal file
|
@ -0,0 +1,12 @@
|
|||
.class public final Lrx/android/R;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,19 @@
|
|||
.class public final Lrx/exceptions/AssemblyStackTraceException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "AssemblyStackTraceException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x1c4b7c27e9c0effcL
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public declared-synchronized fillInStackTrace()Ljava/lang/Throwable;
|
||||
.locals 0
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
|
@ -0,0 +1,38 @@
|
|||
.class public final Lrx/exceptions/CompositeException$a;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/CompositeException;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x35c7853e403cebd2L
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getMessage()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "Chain of Causes for CompositeException In Order Received =>"
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -0,0 +1,32 @@
|
|||
.class public abstract Lrx/exceptions/CompositeException$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/CompositeException;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a()Ljava/lang/Object;
|
||||
.end method
|
||||
|
||||
.method public abstract b(Ljava/lang/Object;)V
|
||||
.end method
|
|
@ -0,0 +1,50 @@
|
|||
.class public final Lrx/exceptions/CompositeException$c;
|
||||
.super Lrx/exceptions/CompositeException$b;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/CompositeException;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "c"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/io/PrintStream;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/io/PrintStream;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lrx/exceptions/CompositeException$b;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException$c;->a:Ljava/io/PrintStream;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException$c;->a:Ljava/io/PrintStream;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public b(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException$c;->a:Ljava/io/PrintStream;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,50 @@
|
|||
.class public final Lrx/exceptions/CompositeException$d;
|
||||
.super Lrx/exceptions/CompositeException$b;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/CompositeException;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "d"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/io/PrintWriter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/io/PrintWriter;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lrx/exceptions/CompositeException$b;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException$d;->a:Ljava/io/PrintWriter;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException$d;->a:Ljava/io/PrintWriter;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public b(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException$d;->a:Ljava/io/PrintWriter;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,635 @@
|
|||
.class public final Lrx/exceptions/CompositeException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/exceptions/CompositeException$a;,
|
||||
Lrx/exceptions/CompositeException$d;,
|
||||
Lrx/exceptions/CompositeException$c;,
|
||||
Lrx/exceptions/CompositeException$b;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x29ffcc6947b49592L
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public cause:Ljava/lang/Throwable;
|
||||
|
||||
.field public final exceptions:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Throwable;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final message:Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/util/Collection;)V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Collection<",
|
||||
"+",
|
||||
"Ljava/lang/Throwable;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/LinkedHashSet;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
||||
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Ljava/lang/Throwable;
|
||||
|
||||
instance-of v3, v2, Lrx/exceptions/CompositeException;
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
check-cast v2, Lrx/exceptions/CompositeException;
|
||||
|
||||
iget-object v2, v2, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-virtual {v0, v2}, Ljava/util/AbstractCollection;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
invoke-virtual {v0, v2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
new-instance v2, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {v2}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
invoke-virtual {v0, v2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:cond_3
|
||||
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
new-instance p1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v0, " exceptions occurred. "
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException;->message:Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public varargs constructor <init>([Ljava/lang/Throwable;)V
|
||||
.locals 6
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/LinkedHashSet;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
||||
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
array-length v2, p1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v2, :cond_2
|
||||
|
||||
aget-object v4, p1, v3
|
||||
|
||||
instance-of v5, v4, Lrx/exceptions/CompositeException;
|
||||
|
||||
if-eqz v5, :cond_0
|
||||
|
||||
check-cast v4, Lrx/exceptions/CompositeException;
|
||||
|
||||
iget-object v4, v4, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/util/AbstractCollection;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
new-instance v4, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {v4}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
new-instance p1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v0, " exceptions occurred. "
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException;->message:Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/lang/StringBuilder;Ljava/lang/Throwable;Ljava/lang/String;)V
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 p3, 0xa
|
||||
|
||||
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Throwable;->getStackTrace()[Ljava/lang/StackTraceElement;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
const-string v4, "\t\tat "
|
||||
|
||||
invoke-virtual {p1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
if-eqz p3, :cond_1
|
||||
|
||||
const-string p3, "\tCaused by: "
|
||||
|
||||
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, ""
|
||||
|
||||
invoke-virtual {p0, p1, p2, p3}, Lrx/exceptions/CompositeException;->a(Ljava/lang/StringBuilder;Ljava/lang/Throwable;Ljava/lang/String;)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final b(Lrx/exceptions/CompositeException$b;)V
|
||||
.locals 7
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x80
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V
|
||||
|
||||
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0xa
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/RuntimeException;->getStackTrace()[Ljava/lang/StackTraceElement;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
array-length v3, v2
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v4, v3, :cond_0
|
||||
|
||||
aget-object v5, v2, v4
|
||||
|
||||
const-string v6, "\tat "
|
||||
|
||||
invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
add-int/lit8 v4, v4, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:goto_1
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Ljava/lang/Throwable;
|
||||
|
||||
const-string v5, " ComposedException "
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v5, " :\n"
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v5, "\t"
|
||||
|
||||
invoke-virtual {p0, v0, v4, v5}, Lrx/exceptions/CompositeException;->a(Ljava/lang/StringBuilder;Ljava/lang/Throwable;Ljava/lang/String;)V
|
||||
|
||||
add-int/2addr v3, v2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p1}, Lrx/exceptions/CompositeException$b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
monitor-enter v1
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/exceptions/CompositeException$b;->b(Ljava/lang/Object;)V
|
||||
|
||||
monitor-exit v1
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit v1
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized getCause()Ljava/lang/Throwable;
|
||||
.locals 8
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->cause:Ljava/lang/Throwable;
|
||||
|
||||
if-nez v0, :cond_b
|
||||
|
||||
new-instance v0, Lrx/exceptions/CompositeException$a;
|
||||
|
||||
invoke-direct {v0}, Lrx/exceptions/CompositeException$a;-><init>()V
|
||||
|
||||
new-instance v1, Ljava/util/HashSet;
|
||||
|
||||
invoke-direct {v1}, Ljava/util/HashSet;-><init>()V
|
||||
|
||||
iget-object v2, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
move-object v3, v0
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_a
|
||||
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Ljava/lang/Throwable;
|
||||
|
||||
invoke-virtual {v1, v4}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-eqz v5, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {v1, v4}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
new-instance v5, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
if-eqz v6, :cond_4
|
||||
|
||||
if-ne v6, v4, :cond_2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
invoke-virtual {v5, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
invoke-virtual {v6}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
if-eqz v7, :cond_4
|
||||
|
||||
if-ne v7, v6, :cond_3
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
invoke-virtual {v6}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
:goto_2
|
||||
invoke-virtual {v5}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
:goto_3
|
||||
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_6
|
||||
|
||||
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
check-cast v6, Ljava/lang/Throwable;
|
||||
|
||||
invoke-virtual {v1, v6}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v7
|
||||
|
||||
if-eqz v7, :cond_5
|
||||
|
||||
new-instance v4, Ljava/lang/RuntimeException;
|
||||
|
||||
const-string v6, "Duplicate found in causal chain so cropping to prevent loop ..."
|
||||
|
||||
invoke-direct {v4, v6}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
invoke-virtual {v1, v6}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
:try_start_1
|
||||
invoke-virtual {v3, v4}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
:try_start_2
|
||||
invoke-virtual {v3}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
if-ne v4, v3, :cond_7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_7
|
||||
:goto_4
|
||||
invoke-virtual {v4}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v3, :cond_9
|
||||
|
||||
if-ne v3, v4, :cond_8
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_8
|
||||
invoke-virtual {v4}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_9
|
||||
:goto_5
|
||||
move-object v3, v4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_a
|
||||
iput-object v0, p0, Lrx/exceptions/CompositeException;->cause:Ljava/lang/Throwable;
|
||||
|
||||
:cond_b
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->cause:Ljava/lang/Throwable;
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-object v0
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public getMessage()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->message:Ljava/lang/String;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public printStackTrace()V
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Ljava/lang/System;->err:Ljava/io/PrintStream;
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/exceptions/CompositeException;->printStackTrace(Ljava/io/PrintStream;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public printStackTrace(Ljava/io/PrintStream;)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lrx/exceptions/CompositeException$c;
|
||||
|
||||
invoke-direct {v0, p1}, Lrx/exceptions/CompositeException$c;-><init>(Ljava/io/PrintStream;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/exceptions/CompositeException;->b(Lrx/exceptions/CompositeException$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public printStackTrace(Ljava/io/PrintWriter;)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lrx/exceptions/CompositeException$d;
|
||||
|
||||
invoke-direct {v0, p1}, Lrx/exceptions/CompositeException$d;-><init>(Ljava/io/PrintWriter;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/exceptions/CompositeException;->b(Lrx/exceptions/CompositeException$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,25 @@
|
|||
.class public Lrx/exceptions/MissingBackpressureException;
|
||||
.super Ljava/lang/Exception;
|
||||
.source "MissingBackpressureException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x64a044776671d702L
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Exception;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,17 @@
|
|||
.class public final Lrx/exceptions/OnCompletedFailedException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnCompletedFailedException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x77a98e42bd159a4aL
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,29 @@
|
|||
.class public Lrx/exceptions/OnErrorFailedException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnErrorFailedException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = -0x5d19dcdff8b398bL
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p0, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,47 @@
|
|||
.class public Lrx/exceptions/OnErrorNotImplementedException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnErrorNotImplementedException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = -0x576a0913e5716a6cL
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
:goto_1
|
||||
invoke-direct {p0, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,72 @@
|
|||
.class public final Lrx/exceptions/OnErrorThrowable$OnNextValue$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "OnErrorThrowable.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Ljava/util/Set;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/util/HashSet;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
||||
|
||||
const-class v1, Ljava/lang/Boolean;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Character;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Byte;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Short;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Long;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Float;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Double;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
sput-object v0, Lrx/exceptions/OnErrorThrowable$OnNextValue$a;->a:Ljava/util/Set;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,164 @@
|
|||
.class public Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnErrorThrowable.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/OnErrorThrowable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "OnNextValue"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/exceptions/OnErrorThrowable$OnNextValue$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = -0x2ff0b792f8336acbL
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final value:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/Object;)V
|
||||
.locals 3
|
||||
|
||||
const-string v0, "OnError while emitting onNext value: "
|
||||
|
||||
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
const-string v1, "null"
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v1, Lrx/exceptions/OnErrorThrowable$OnNextValue$a;->a:Ljava/util/Set;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v1, v2}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
instance-of v1, p1, Ljava/lang/String;
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
check-cast v1, Ljava/lang/String;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
instance-of v1, p1, Ljava/lang/Enum;
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
check-cast v1, Ljava/lang/Enum;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->name()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
sget-object v1, Li0/o/o;->f:Li0/o/o;
|
||||
|
||||
invoke-virtual {v1}, Li0/o/o;->b()Li0/o/b;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_5
|
||||
|
||||
new-instance v1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v2, ".class"
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
instance-of v0, p1, Ljava/io/Serializable;
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
:try_start_0
|
||||
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_1
|
||||
iput-object p1, p0, Lrx/exceptions/OnErrorThrowable$OnNextValue;->value:Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_5
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
147
com.discord/smali_classes2/rx/exceptions/OnErrorThrowable.smali
Normal file
147
com.discord/smali_classes2/rx/exceptions/OnErrorThrowable.smali
Normal file
|
@ -0,0 +1,147 @@
|
|||
.class public final Lrx/exceptions/OnErrorThrowable;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnErrorThrowable.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = -0x7e77a2d646dfd3eL
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final hasValue:Z
|
||||
|
||||
.field public final value:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static a(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;
|
||||
.locals 5
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
new-instance p0, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const/16 v4, 0x19
|
||||
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
add-int/lit8 v3, v2, 0x1
|
||||
|
||||
if-lt v2, v4, :cond_1
|
||||
|
||||
new-instance v1, Ljava/lang/RuntimeException;
|
||||
|
||||
const-string v2, "Stack too deep to get final cause"
|
||||
|
||||
invoke-direct {v1, v2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {v1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
move v2, v3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
instance-of v2, v1, Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
check-cast v1, Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
|
||||
iget-object v1, v1, Lrx/exceptions/OnErrorThrowable$OnNextValue;->value:Ljava/lang/Object;
|
||||
|
||||
if-ne v1, p1, :cond_3
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_3
|
||||
new-instance v1, Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
|
||||
invoke-direct {v1, p1}, Lrx/exceptions/OnErrorThrowable$OnNextValue;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
new-instance p1, Ljava/util/HashSet;
|
||||
|
||||
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
|
||||
|
||||
move-object v2, p0
|
||||
|
||||
:goto_2
|
||||
invoke-virtual {v2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v3, :cond_6
|
||||
|
||||
add-int/lit8 v3, v0, 0x1
|
||||
|
||||
if-lt v0, v4, :cond_4
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_4
|
||||
invoke-virtual {v2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_5
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
invoke-virtual {v2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
move v0, v3
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_6
|
||||
:goto_3
|
||||
:try_start_0
|
||||
invoke-virtual {v2, v1}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
:goto_4
|
||||
return-object p0
|
||||
.end method
|
|
@ -0,0 +1,17 @@
|
|||
.class public final Lrx/exceptions/UnsubscribeFailedException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "UnsubscribeFailedException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x3fc38e1f743aa0eeL
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
8
com.discord/smali_classes2/rx/functions/Action0.smali
Normal file
8
com.discord/smali_classes2/rx/functions/Action0.smali
Normal file
|
@ -0,0 +1,8 @@
|
|||
.class public interface abstract Lrx/functions/Action0;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Action0.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call()V
|
||||
.end method
|
25
com.discord/smali_classes2/rx/functions/Action1.smali
Normal file
25
com.discord/smali_classes2/rx/functions/Action1.smali
Normal file
|
@ -0,0 +1,25 @@
|
|||
.class public interface abstract Lrx/functions/Action1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Action1.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
27
com.discord/smali_classes2/rx/functions/Action2.smali
Normal file
27
com.discord/smali_classes2/rx/functions/Action2.smali
Normal file
|
@ -0,0 +1,27 @@
|
|||
.class public interface abstract Lrx/functions/Action2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Action2.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
29
com.discord/smali_classes2/rx/functions/Action3.smali
Normal file
29
com.discord/smali_classes2/rx/functions/Action3.smali
Normal file
|
@ -0,0 +1,29 @@
|
|||
.class public interface abstract Lrx/functions/Action3;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Action3.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
13
com.discord/smali_classes2/rx/functions/Cancellable.smali
Normal file
13
com.discord/smali_classes2/rx/functions/Cancellable.smali
Normal file
|
@ -0,0 +1,13 @@
|
|||
.class public interface abstract Lrx/functions/Cancellable;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Cancellable.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract cancel()V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/lang/Exception;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
30
com.discord/smali_classes2/rx/functions/Func0.smali
Normal file
30
com.discord/smali_classes2/rx/functions/Func0.smali
Normal file
|
@ -0,0 +1,30 @@
|
|||
.class public interface abstract Lrx/functions/Func0;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func0.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/concurrent/Callable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/util/concurrent/Callable<",
|
||||
"TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call()Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
29
com.discord/smali_classes2/rx/functions/Func2.smali
Normal file
29
com.discord/smali_classes2/rx/functions/Func2.smali
Normal file
|
@ -0,0 +1,29 @@
|
|||
.class public interface abstract Lrx/functions/Func2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func2.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
31
com.discord/smali_classes2/rx/functions/Func3.smali
Normal file
31
com.discord/smali_classes2/rx/functions/Func3.smali
Normal file
|
@ -0,0 +1,31 @@
|
|||
.class public interface abstract Lrx/functions/Func3;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func3.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
33
com.discord/smali_classes2/rx/functions/Func4.smali
Normal file
33
com.discord/smali_classes2/rx/functions/Func4.smali
Normal file
|
@ -0,0 +1,33 @@
|
|||
.class public interface abstract Lrx/functions/Func4;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func4.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
35
com.discord/smali_classes2/rx/functions/Func5.smali
Normal file
35
com.discord/smali_classes2/rx/functions/Func5.smali
Normal file
|
@ -0,0 +1,35 @@
|
|||
.class public interface abstract Lrx/functions/Func5;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func5.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
37
com.discord/smali_classes2/rx/functions/Func6.smali
Normal file
37
com.discord/smali_classes2/rx/functions/Func6.smali
Normal file
|
@ -0,0 +1,37 @@
|
|||
.class public interface abstract Lrx/functions/Func6;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func6.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"T6:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;TT6;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
39
com.discord/smali_classes2/rx/functions/Func7.smali
Normal file
39
com.discord/smali_classes2/rx/functions/Func7.smali
Normal file
|
@ -0,0 +1,39 @@
|
|||
.class public interface abstract Lrx/functions/Func7;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func7.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"T6:",
|
||||
"Ljava/lang/Object;",
|
||||
"T7:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;TT6;TT7;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
41
com.discord/smali_classes2/rx/functions/Func8.smali
Normal file
41
com.discord/smali_classes2/rx/functions/Func8.smali
Normal file
|
@ -0,0 +1,41 @@
|
|||
.class public interface abstract Lrx/functions/Func8;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func8.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"T6:",
|
||||
"Ljava/lang/Object;",
|
||||
"T7:",
|
||||
"Ljava/lang/Object;",
|
||||
"T8:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
43
com.discord/smali_classes2/rx/functions/Func9.smali
Normal file
43
com.discord/smali_classes2/rx/functions/Func9.smali
Normal file
|
@ -0,0 +1,43 @@
|
|||
.class public interface abstract Lrx/functions/Func9;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func9.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"T6:",
|
||||
"Ljava/lang/Object;",
|
||||
"T7:",
|
||||
"Ljava/lang/Object;",
|
||||
"T8:",
|
||||
"Ljava/lang/Object;",
|
||||
"T9:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;TT9;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
27
com.discord/smali_classes2/rx/functions/FuncN.smali
Normal file
27
com.discord/smali_classes2/rx/functions/FuncN.smali
Normal file
|
@ -0,0 +1,27 @@
|
|||
.class public interface abstract Lrx/functions/FuncN;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FuncN.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public varargs abstract call([Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"([",
|
||||
"Ljava/lang/Object;",
|
||||
")TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -0,0 +1,231 @@
|
|||
.class public final Lrx/internal/util/SubscriptionList;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SubscriptionList.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Lrx/Subscription;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public volatile e:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/LinkedList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public varargs constructor <init>([Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/LinkedList;
|
||||
|
||||
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/util/LinkedList;-><init>(Ljava/util/Collection;)V
|
||||
|
||||
iput-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->isUnsubscribed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v0, :cond_3
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
iget-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
new-instance v0, Ljava/util/LinkedList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
:cond_1
|
||||
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
monitor-exit p0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
:goto_0
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 3
|
||||
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v0, :cond_4
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
iget-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-object v1, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Lrx/Subscription;
|
||||
|
||||
:try_start_1
|
||||
invoke-interface {v2}, Lrx/Subscription;->unsubscribe()V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v2
|
||||
|
||||
if-nez v1, :cond_2
|
||||
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
:cond_2
|
||||
invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
invoke-static {v1}, Lz/i/s;->W(Ljava/util/List;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
:try_start_2
|
||||
monitor-exit p0
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_4
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,109 @@
|
|||
.class public Lrx/observers/SerializedSubscriber;
|
||||
.super Lrx/Subscriber;
|
||||
.source "SerializedSubscriber.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/Subscriber<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Li0/g;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Li0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Subscriber;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-direct {p0, p1, v0}, Lrx/Subscriber;-><init>(Lrx/Subscriber;Z)V
|
||||
|
||||
new-instance v0, Li0/n/c;
|
||||
|
||||
invoke-direct {v0, p1}, Li0/n/c;-><init>(Li0/g;)V
|
||||
|
||||
iput-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Li0/g;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lrx/Subscriber;Z)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;Z)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Lrx/Subscriber;-><init>(Lrx/Subscriber;Z)V
|
||||
|
||||
new-instance p2, Li0/n/c;
|
||||
|
||||
invoke-direct {p2, p1}, Li0/n/c;-><init>(Li0/g;)V
|
||||
|
||||
iput-object p2, p0, Lrx/observers/SerializedSubscriber;->d:Li0/g;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Li0/g;
|
||||
|
||||
invoke-interface {v0}, Li0/g;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Li0/g;
|
||||
|
||||
invoke-interface {v0, p1}, Li0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Li0/g;
|
||||
|
||||
invoke-interface {v0, p1}, Li0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
243
com.discord/smali_classes2/rx/subjects/BehaviorSubject$a.smali
Normal file
243
com.discord/smali_classes2/rx/subjects/BehaviorSubject$a.smali
Normal file
|
@ -0,0 +1,243 @@
|
|||
.class public final Lrx/subjects/BehaviorSubject$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "BehaviorSubject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lrx/subjects/BehaviorSubject;->i0(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Li0/q/c$b<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Li0/q/c;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Li0/q/c;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/BehaviorSubject$a;->d:Li0/q/c;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 8
|
||||
|
||||
check-cast p1, Li0/q/c$b;
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject$a;->d:Li0/q/c;
|
||||
|
||||
iget-object v0, v0, Li0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
monitor-enter p1
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v1, p1, Li0/q/c$b;->e:Z
|
||||
|
||||
if-eqz v1, :cond_7
|
||||
|
||||
iget-boolean v1, p1, Li0/q/c$b;->f:Z
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-boolean v1, p1, Li0/q/c$b;->e:Z
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
iput-boolean v3, p1, Li0/q/c$b;->f:Z
|
||||
|
||||
monitor-exit p1
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_5
|
||||
|
||||
if-eqz v0, :cond_8
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
move-object v4, v3
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
:goto_1
|
||||
if-eqz v4, :cond_3
|
||||
|
||||
:try_start_1
|
||||
invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
:cond_2
|
||||
:goto_2
|
||||
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_3
|
||||
|
||||
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
if-eqz v6, :cond_2
|
||||
|
||||
iget-object v7, p1, Li0/q/c$b;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-static {v7, v6}, Li0/l/a/h;->a(Li0/g;Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_3
|
||||
if-eqz v5, :cond_4
|
||||
|
||||
iget-object v4, p1, Li0/q/c$b;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-static {v4, v0}, Li0/l/a/h;->a(Li0/g;Ljava/lang/Object;)Z
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
:cond_4
|
||||
monitor-enter p1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:try_start_2
|
||||
iget-object v4, p1, Li0/q/c$b;->g:Ljava/util/List;
|
||||
|
||||
iput-object v3, p1, Li0/q/c$b;->g:Ljava/util/List;
|
||||
|
||||
if-nez v4, :cond_5
|
||||
|
||||
iput-boolean v1, p1, Li0/q/c$b;->f:Z
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||||
|
||||
:try_start_3
|
||||
monitor-exit p1
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_3
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_5
|
||||
:try_start_4
|
||||
monitor-exit p1
|
||||
:try_end_4
|
||||
.catchall {:try_start_4 .. :try_end_4} :catchall_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_3
|
||||
:try_start_5
|
||||
monitor-exit p1
|
||||
:try_end_5
|
||||
.catchall {:try_start_5 .. :try_end_5} :catchall_3
|
||||
|
||||
:try_start_6
|
||||
throw v0
|
||||
:try_end_6
|
||||
.catchall {:try_start_6 .. :try_end_6} :catchall_2
|
||||
|
||||
:catchall_2
|
||||
move-exception v0
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:catchall_3
|
||||
move-exception v0
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:goto_4
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_5
|
||||
if-nez v2, :cond_6
|
||||
|
||||
monitor-enter p1
|
||||
|
||||
:try_start_7
|
||||
iput-boolean v1, p1, Li0/q/c$b;->f:Z
|
||||
|
||||
monitor-exit p1
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:catchall_4
|
||||
move-exception v0
|
||||
|
||||
monitor-exit p1
|
||||
:try_end_7
|
||||
.catchall {:try_start_7 .. :try_end_7} :catchall_4
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_6
|
||||
:goto_6
|
||||
throw v0
|
||||
|
||||
:cond_7
|
||||
:goto_7
|
||||
:try_start_8
|
||||
monitor-exit p1
|
||||
|
||||
:cond_8
|
||||
:goto_8
|
||||
return-void
|
||||
|
||||
:catchall_5
|
||||
move-exception v0
|
||||
|
||||
monitor-exit p1
|
||||
:try_end_8
|
||||
.catchall {:try_start_8 .. :try_end_8} :catchall_5
|
||||
|
||||
throw v0
|
||||
.end method
|
364
com.discord/smali_classes2/rx/subjects/BehaviorSubject.smali
Normal file
364
com.discord/smali_classes2/rx/subjects/BehaviorSubject.smali
Normal file
|
@ -0,0 +1,364 @@
|
|||
.class public final Lrx/subjects/BehaviorSubject;
|
||||
.super Lrx/subjects/Subject;
|
||||
.source "BehaviorSubject.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/subjects/Subject<",
|
||||
"TT;TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final f:[Ljava/lang/Object;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final e:Li0/q/c;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Li0/q/c<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
new-array v0, v0, [Ljava/lang/Object;
|
||||
|
||||
sput-object v0, Lrx/subjects/BehaviorSubject;->f:[Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lrx/Observable$a;Li0/q/c;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Observable$a<",
|
||||
"TT;>;",
|
||||
"Li0/q/c<",
|
||||
"TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1}, Lrx/subjects/Subject;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
iput-object p2, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static g0()Lrx/subjects/BehaviorSubject;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">()",
|
||||
"Lrx/subjects/BehaviorSubject<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-static {v0, v1}, Lrx/subjects/BehaviorSubject;->i0(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static h0(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(TT;)",
|
||||
"Lrx/subjects/BehaviorSubject<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-static {p0, v0}, Lrx/subjects/BehaviorSubject;->i0(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static i0(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(TT;Z)",
|
||||
"Lrx/subjects/BehaviorSubject<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Li0/q/c;
|
||||
|
||||
invoke-direct {v0}, Li0/q/c;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
sget-object p0, Li0/l/a/h;->b:Ljava/lang/Object;
|
||||
|
||||
:cond_0
|
||||
iput-object p0, v0, Li0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
:cond_1
|
||||
new-instance p0, Lrx/subjects/BehaviorSubject$a;
|
||||
|
||||
invoke-direct {p0, v0}, Lrx/subjects/BehaviorSubject$a;-><init>(Li0/q/c;)V
|
||||
|
||||
iput-object p0, v0, Li0/q/c;->onAdded:Lrx/functions/Action1;
|
||||
|
||||
iput-object p0, v0, Li0/q/c;->onTerminated:Lrx/functions/Action1;
|
||||
|
||||
new-instance p0, Lrx/subjects/BehaviorSubject;
|
||||
|
||||
invoke-direct {p0, v0, v0}, Lrx/subjects/BehaviorSubject;-><init>(Lrx/Observable$a;Li0/q/c;)V
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public j0()Ljava/lang/Object;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
iget-object v0, v0, Li0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
instance-of v1, v0, Li0/l/a/h$c;
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
invoke-static {v0}, Li0/l/a/h;->c(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-static {v0}, Li0/l/a/h;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public onCompleted()V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
iget-object v0, v0, Li0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
iget-boolean v0, v0, Li0/q/c;->active:Z
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Li0/l/a/h;->a:Ljava/lang/Object;
|
||||
|
||||
iget-object v1, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
invoke-virtual {v1, v0}, Li0/q/c;->b(Ljava/lang/Object;)[Li0/q/c$b;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
array-length v2, v1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v2, :cond_1
|
||||
|
||||
aget-object v4, v1, v3
|
||||
|
||||
invoke-virtual {v4, v0}, Li0/q/c$b;->a(Ljava/lang/Object;)V
|
||||
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
iget-object v0, v0, Li0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
iget-boolean v0, v0, Li0/q/c;->active:Z
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Li0/l/a/h$c;
|
||||
|
||||
invoke-direct {v0, p1}, Li0/l/a/h$c;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iget-object v1, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
invoke-virtual {v1, v0}, Li0/q/c;->b(Ljava/lang/Object;)[Li0/q/c$b;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
array-length v2, v1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v2, :cond_2
|
||||
|
||||
aget-object v4, v1, v3
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {v4, v0}, Li0/q/c$b;->a(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception v4
|
||||
|
||||
if-nez p1, :cond_1
|
||||
|
||||
new-instance p1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
:cond_1
|
||||
invoke-interface {p1, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-static {p1}, Lz/i/s;->W(Ljava/util/List;)V
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
iget-object v0, v0, Li0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
iget-boolean v0, v0, Li0/q/c;->active:Z
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
:cond_0
|
||||
if-nez p1, :cond_1
|
||||
|
||||
sget-object p1, Li0/l/a/h;->b:Ljava/lang/Object;
|
||||
|
||||
:cond_1
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Li0/q/c;
|
||||
|
||||
iput-object p1, v0, Li0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Li0/q/c$a;
|
||||
|
||||
iget-object v0, v0, Li0/q/c$a;->b:[Li0/q/c$b;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_2
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
invoke-virtual {v3, p1}, Li0/q/c$b;->a(Ljava/lang/Object;)V
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
261
com.discord/smali_classes2/rx/subjects/PublishSubject$a.smali
Normal file
261
com.discord/smali_classes2/rx/subjects/PublishSubject$a.smali
Normal file
|
@ -0,0 +1,261 @@
|
|||
.class public final Lrx/subjects/PublishSubject$a;
|
||||
.super Ljava/util/concurrent/atomic/AtomicLong;
|
||||
.source "PublishSubject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Producer;
|
||||
.implements Lrx/Subscription;
|
||||
.implements Li0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/subjects/PublishSubject;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/util/concurrent/atomic/AtomicLong;",
|
||||
"Lrx/Producer;",
|
||||
"Lrx/Subscription;",
|
||||
"Li0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x59896c1df8e78b00L
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final actual:Lrx/Subscriber;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final parent:Lrx/subjects/PublishSubject$b;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject$b<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public produced:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/subjects/PublishSubject$b;Lrx/Subscriber;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/PublishSubject$b<",
|
||||
"TT;>;",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/PublishSubject$a;->parent:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
iput-object p2, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public n(J)V
|
||||
.locals 5
|
||||
|
||||
invoke-static {p1, p2}, Lz/i/s;->d0(J)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_1
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
invoke-static {v0, v1, p1, p2}, Lz/i/s;->d(JJ)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
invoke-virtual {p0, v0, v1, v2, v3}, Ljava/util/concurrent/atomic/AtomicLong;->compareAndSet(JJ)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onCompleted()V
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0}, Li0/g;->onCompleted()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Li0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
iget-wide v2, p0, Lrx/subjects/PublishSubject$a;->produced:J
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
const-wide/16 v0, 0x1
|
||||
|
||||
add-long/2addr v2, v0
|
||||
|
||||
iput-wide v2, p0, Lrx/subjects/PublishSubject$a;->produced:J
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Li0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Lrx/subjects/PublishSubject$a;->unsubscribe()V
|
||||
|
||||
iget-object p1, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
new-instance v0, Lrx/exceptions/MissingBackpressureException;
|
||||
|
||||
const-string v1, "PublishSubject: could not emit value due to lack of requests"
|
||||
|
||||
invoke-direct {v0, v1}, Lrx/exceptions/MissingBackpressureException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p1, v0}, Li0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 5
|
||||
|
||||
const-wide/high16 v0, -0x8000000000000000L
|
||||
|
||||
invoke-virtual {p0, v0, v1}, Ljava/util/concurrent/atomic/AtomicLong;->getAndSet(J)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
cmp-long v4, v2, v0
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->parent:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-virtual {v0, p0}, Lrx/subjects/PublishSubject$b;->a(Lrx/subjects/PublishSubject$a;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
368
com.discord/smali_classes2/rx/subjects/PublishSubject$b.smali
Normal file
368
com.discord/smali_classes2/rx/subjects/PublishSubject$b.smali
Normal file
|
@ -0,0 +1,368 @@
|
|||
.class public final Lrx/subjects/PublishSubject$b;
|
||||
.super Ljava/util/concurrent/atomic/AtomicReference;
|
||||
.source "PublishSubject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Observable$a;
|
||||
.implements Li0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/subjects/PublishSubject;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/util/concurrent/atomic/AtomicReference<",
|
||||
"[",
|
||||
"Lrx/subjects/PublishSubject$a<",
|
||||
"TT;>;>;",
|
||||
"Lrx/Observable$a<",
|
||||
"TT;>;",
|
||||
"Li0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
.field public static final e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
.field public static final serialVersionUID:J = -0x690a478d773d9c84L
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public error:Ljava/lang/Throwable;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
new-array v1, v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
sput-object v1, Lrx/subjects/PublishSubject$b;->d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
new-array v0, v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
sput-object v0, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
|
||||
|
||||
sget-object v0, Lrx/subjects/PublishSubject$b;->d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lrx/subjects/PublishSubject$a;)V
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/PublishSubject$a<",
|
||||
"TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
sget-object v1, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
if-eq v0, v1, :cond_6
|
||||
|
||||
sget-object v1, Lrx/subjects/PublishSubject$b;->d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
if-ne v0, v1, :cond_1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_1
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v1, :cond_3
|
||||
|
||||
aget-object v4, v0, v3
|
||||
|
||||
if-ne v4, p1, :cond_2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const/4 v3, -0x1
|
||||
|
||||
:goto_1
|
||||
if-gez v3, :cond_4
|
||||
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-ne v1, v4, :cond_5
|
||||
|
||||
sget-object v1, Lrx/subjects/PublishSubject$b;->d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_5
|
||||
add-int/lit8 v5, v1, -0x1
|
||||
|
||||
new-array v5, v5, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-static {v0, v2, v5, v2, v3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
add-int/lit8 v2, v3, 0x1
|
||||
|
||||
sub-int/2addr v1, v3
|
||||
|
||||
sub-int/2addr v1, v4
|
||||
|
||||
invoke-static {v0, v2, v5, v3, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
move-object v1, v5
|
||||
|
||||
:goto_2
|
||||
invoke-virtual {p0, v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
:cond_6
|
||||
:goto_3
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 5
|
||||
|
||||
check-cast p1, Lrx/Subscriber;
|
||||
|
||||
new-instance v0, Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Lrx/subjects/PublishSubject$a;-><init>(Lrx/subjects/PublishSubject$b;Lrx/Subscriber;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Subscriber;->add(Lrx/Subscription;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
sget-object v2, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-ne v1, v2, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
array-length v2, v1
|
||||
|
||||
add-int/lit8 v4, v2, 0x1
|
||||
|
||||
new-array v4, v4, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-static {v1, v3, v4, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
aput-object v0, v4, v2
|
||||
|
||||
invoke-virtual {p0, v1, v4}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:goto_0
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
invoke-virtual {v0}, Lrx/subjects/PublishSubject$a;->isUnsubscribed()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/subjects/PublishSubject$b;->a(Lrx/subjects/PublishSubject$a;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$b;->error:Ljava/lang/Throwable;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
invoke-interface {p1, v0}, Li0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
invoke-interface {p1}, Li0/g;->onCompleted()V
|
||||
|
||||
:cond_4
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onCompleted()V
|
||||
.locals 4
|
||||
|
||||
sget-object v0, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
invoke-virtual {v3}, Lrx/subjects/PublishSubject$a;->onCompleted()V
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 6
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/PublishSubject$b;->error:Ljava/lang/Throwable;
|
||||
|
||||
sget-object v0, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v1, :cond_1
|
||||
|
||||
aget-object v4, v0, v3
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {v4, p1}, Lrx/subjects/PublishSubject$a;->onError(Ljava/lang/Throwable;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception v4
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
new-instance v2, Ljava/util/ArrayList;
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
invoke-direct {v2, v5}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
:cond_0
|
||||
invoke-interface {v2, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-static {v2}, Lz/i/s;->W(Ljava/util/List;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
invoke-virtual {v3, p1}, Lrx/subjects/PublishSubject$a;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
112
com.discord/smali_classes2/rx/subjects/PublishSubject.smali
Normal file
112
com.discord/smali_classes2/rx/subjects/PublishSubject.smali
Normal file
|
@ -0,0 +1,112 @@
|
|||
.class public final Lrx/subjects/PublishSubject;
|
||||
.super Lrx/subjects/Subject;
|
||||
.source "PublishSubject.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/subjects/PublishSubject$a;,
|
||||
Lrx/subjects/PublishSubject$b;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/subjects/Subject<",
|
||||
"TT;TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final e:Lrx/subjects/PublishSubject$b;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject$b<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/subjects/PublishSubject$b;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/PublishSubject$b<",
|
||||
"TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1}, Lrx/subjects/Subject;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static g0()Lrx/subjects/PublishSubject;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">()",
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lrx/subjects/PublishSubject;
|
||||
|
||||
new-instance v1, Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-direct {v1}, Lrx/subjects/PublishSubject$b;-><init>()V
|
||||
|
||||
invoke-direct {v0, v1}, Lrx/subjects/PublishSubject;-><init>(Lrx/subjects/PublishSubject$b;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-virtual {v0}, Lrx/subjects/PublishSubject$b;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/subjects/PublishSubject$b;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/subjects/PublishSubject$b;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,55 @@
|
|||
.class public Lrx/subjects/SerializedSubject$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SerializedSubject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Observable$a;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lrx/subjects/SerializedSubject;-><init>(Lrx/subjects/Subject;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/Observable$a<",
|
||||
"TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lrx/subjects/Subject;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/subjects/Subject;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/SerializedSubject$a;->d:Lrx/subjects/Subject;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lrx/Subscriber;
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject$a;->d:Lrx/subjects/Subject;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/Observable;->e0(Lrx/Subscriber;)Lrx/Subscription;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,92 @@
|
|||
.class public Lrx/subjects/SerializedSubject;
|
||||
.super Lrx/subjects/Subject;
|
||||
.source "SerializedSubject.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/subjects/Subject<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final e:Li0/n/c;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Li0/n/c<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/subjects/Subject;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/Subject<",
|
||||
"TT;TR;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lrx/subjects/SerializedSubject$a;
|
||||
|
||||
invoke-direct {v0, p1}, Lrx/subjects/SerializedSubject$a;-><init>(Lrx/subjects/Subject;)V
|
||||
|
||||
invoke-direct {p0, v0}, Lrx/subjects/Subject;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
new-instance v0, Li0/n/c;
|
||||
|
||||
invoke-direct {v0, p1}, Li0/n/c;-><init>(Li0/g;)V
|
||||
|
||||
iput-object v0, p0, Lrx/subjects/SerializedSubject;->e:Li0/n/c;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Li0/n/c;
|
||||
|
||||
invoke-virtual {v0}, Li0/n/c;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Li0/n/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Li0/n/c;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Li0/n/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Li0/n/c;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
39
com.discord/smali_classes2/rx/subjects/Subject.smali
Normal file
39
com.discord/smali_classes2/rx/subjects/Subject.smali
Normal file
|
@ -0,0 +1,39 @@
|
|||
.class public abstract Lrx/subjects/Subject;
|
||||
.super Lrx/Observable;
|
||||
.source "Subject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Li0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/Observable<",
|
||||
"TR;>;",
|
||||
"Li0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Observable$a;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Observable$a<",
|
||||
"TR;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1}, Lrx/Observable;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,333 @@
|
|||
.class public final Lrx/subscriptions/CompositeSubscription;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CompositeSubscription.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:Ljava/util/Set;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Set<",
|
||||
"Lrx/Subscription;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public volatile e:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static d(Ljava/util/Collection;)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Collection<",
|
||||
"Lrx/Subscription;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lrx/Subscription;
|
||||
|
||||
:try_start_0
|
||||
invoke-interface {v1}, Lrx/Subscription;->unsubscribe()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
:cond_1
|
||||
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-static {v0}, Lz/i/s;->W(Ljava/util/List;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lrx/Subscription;)V
|
||||
.locals 2
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->isUnsubscribed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_3
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
new-instance v0, Ljava/util/HashSet;
|
||||
|
||||
const/4 v1, 0x4
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/HashSet;-><init>(I)V
|
||||
|
||||
iput-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
:cond_1
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
monitor-exit p0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
:goto_0
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b()V
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-object v1, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-static {v0}, Lrx/subscriptions/CompositeSubscription;->d(Ljava/util/Collection;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
:try_start_1
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public c(Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
:try_start_1
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-object v1, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-static {v0}, Lrx/subscriptions/CompositeSubscription;->d(Ljava/util/Collection;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,97 @@
|
|||
.class public final Lrx/subscriptions/SerialSubscription;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SerialSubscription.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Li0/l/d/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Li0/l/d/a;
|
||||
|
||||
invoke-direct {v0}, Li0/l/d/a;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Li0/l/d/a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lrx/Subscription;)V
|
||||
.locals 3
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Li0/l/d/a;
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lrx/Subscription;
|
||||
|
||||
sget-object v2, Li0/l/d/b;->d:Li0/l/d/b;
|
||||
|
||||
if-ne v1, v2, :cond_1
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {v0, v1, p1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
invoke-interface {v1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Subscription can not be null"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Li0/l/d/a;
|
||||
|
||||
invoke-virtual {v0}, Li0/l/d/a;->isUnsubscribed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Li0/l/d/a;
|
||||
|
||||
invoke-virtual {v0}, Li0/l/d/a;->unsubscribe()V
|
||||
|
||||
return-void
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue