Changes of com.discord v1181
This commit is contained in:
parent
f52990c3c2
commit
5a8adcbf82
29917 changed files with 1840412 additions and 1765629 deletions
|
@ -38,83 +38,81 @@
|
|||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 7
|
||||
.locals 8
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const/4 v1, 0x0
|
||||
const-string v1, "NONE"
|
||||
|
||||
const-string v2, "NONE"
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {v0, v2, v1}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
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/4 v2, 0x1
|
||||
const-string v1, "ERROR"
|
||||
|
||||
const-string v3, "ERROR"
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-direct {v0, v3, v2}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
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/4 v3, 0x2
|
||||
const-string v1, "BUFFER"
|
||||
|
||||
const-string v4, "BUFFER"
|
||||
const/4 v4, 0x2
|
||||
|
||||
invoke-direct {v0, v4, v3}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
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/4 v4, 0x3
|
||||
const-string v1, "DROP"
|
||||
|
||||
const-string v5, "DROP"
|
||||
const/4 v5, 0x3
|
||||
|
||||
invoke-direct {v0, v5, v4}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
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/4 v5, 0x4
|
||||
const-string v1, "LATEST"
|
||||
|
||||
const-string v6, "LATEST"
|
||||
const/4 v6, 0x4
|
||||
|
||||
invoke-direct {v0, v6, v5}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
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 v0, 0x5
|
||||
const/4 v1, 0x5
|
||||
|
||||
new-array v0, v0, [Lrx/Emitter$BackpressureMode;
|
||||
new-array v1, v1, [Lrx/Emitter$BackpressureMode;
|
||||
|
||||
sget-object v6, Lrx/Emitter$BackpressureMode;->d:Lrx/Emitter$BackpressureMode;
|
||||
sget-object v7, Lrx/Emitter$BackpressureMode;->d:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v6, v0, v1
|
||||
aput-object v7, v1, v2
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->e:Lrx/Emitter$BackpressureMode;
|
||||
sget-object v2, Lrx/Emitter$BackpressureMode;->e:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v1, v0, v2
|
||||
aput-object v2, v1, v3
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->f:Lrx/Emitter$BackpressureMode;
|
||||
sget-object v2, Lrx/Emitter$BackpressureMode;->f:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v1, v0, v3
|
||||
aput-object v2, v1, v4
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->g:Lrx/Emitter$BackpressureMode;
|
||||
sget-object v2, Lrx/Emitter$BackpressureMode;->g:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v1, v0, v4
|
||||
aput-object v2, v1, v5
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->h:Lrx/Emitter$BackpressureMode;
|
||||
aput-object v0, v1, v6
|
||||
|
||||
aput-object v1, v0, v5
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->i:[Lrx/Emitter$BackpressureMode;
|
||||
sput-object v1, Lrx/Emitter$BackpressureMode;->i:[Lrx/Emitter$BackpressureMode;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "Emitter.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/g;
|
||||
.implements Lr0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
|
@ -19,7 +19,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/g<",
|
||||
"Lr0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "Observable.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/i;
|
||||
.implements Lr0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
|
@ -24,7 +24,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/i<",
|
||||
"Lr0/k/b<",
|
||||
"Lrx/Subscriber<",
|
||||
"-TR;>;",
|
||||
"Lrx/Subscriber<",
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "Observable.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/i;
|
||||
.implements Lr0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
|
@ -24,7 +24,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/i<",
|
||||
"Lr0/k/b<",
|
||||
"Lrx/Observable<",
|
||||
"TT;>;",
|
||||
"Lrx/Observable<",
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -4,5 +4,5 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(J)V
|
||||
.method public abstract n(J)V
|
||||
.end method
|
||||
|
|
|
@ -28,28 +28,30 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public a()J
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public abstract a(Lrx/functions/Action0;)Lrx/Subscription;
|
||||
.end method
|
||||
|
||||
.method public a(Lrx/functions/Action0;JJLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
.locals 0
|
||||
.method public abstract b(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
.end method
|
||||
|
||||
invoke-static/range {p0 .. p6}, Lg0/m/c/j;->a(Lrx/Scheduler$Worker;Lrx/functions/Action0;JJLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
.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}, Lr0/l/c/h;->a(Lrx/Scheduler$Worker;Lrx/functions/Action0;JJLjava/util/concurrent/TimeUnit;Lr0/l/c/h$b;)Lrx/Subscription;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public abstract a(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
.end method
|
||||
|
|
|
@ -24,13 +24,3 @@
|
|||
# virtual methods
|
||||
.method public abstract a()Lrx/Scheduler$Worker;
|
||||
.end method
|
||||
|
||||
.method public b()J
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "Subscriber.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/g;
|
||||
.implements Lr0/g;
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/g<",
|
||||
"Lr0/g<",
|
||||
"TT;>;",
|
||||
"Lrx/Subscription;"
|
||||
}
|
||||
|
@ -163,9 +163,7 @@
|
|||
|
||||
iget-object v0, p0, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
invoke-virtual {v0}, Lrx/internal/util/SubscriptionList;->isUnsubscribed()Z
|
||||
|
||||
move-result v0
|
||||
iget-boolean v0, v0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
@ -198,7 +196,7 @@
|
|||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-interface {v0, p1, p2}, Lrx/Producer;->a(J)V
|
||||
invoke-interface {v0, p1, p2}, Lrx/Producer;->n(J)V
|
||||
|
||||
return-void
|
||||
|
||||
|
@ -224,7 +222,7 @@
|
|||
|
||||
const-string v1, "number requested cannot be negative: "
|
||||
|
||||
invoke-static {v1, p1, p2}, Lf/e/b/a/a;->a(Ljava/lang/String;J)Ljava/lang/String;
|
||||
invoke-static {v1, p1, p2}, Lf/e/b/a/a;->l(Ljava/lang/String;J)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -284,14 +282,14 @@
|
|||
|
||||
const-wide v0, 0x7fffffffffffffffL
|
||||
|
||||
invoke-interface {p1, v0, v1}, Lrx/Producer;->a(J)V
|
||||
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;->a(J)V
|
||||
invoke-interface {p1, v0, v1}, Lrx/Producer;->n(J)V
|
||||
|
||||
:goto_1
|
||||
return-void
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
.class public final Lrx/android/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -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/b/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, Lr0/o/o;->f:Lr0/o/o;
|
||||
|
||||
invoke-virtual {v1}, Lr0/o/o;->b()Lr0/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
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Action0.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call()V
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Action1.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -13,7 +10,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/f;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Action2.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -15,7 +12,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/f;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Action3.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -17,7 +14,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/f;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Action4.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -19,7 +16,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/f;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
.source "Func0.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
.implements Ljava/util/concurrent/Callable;
|
||||
|
||||
|
||||
|
@ -14,7 +13,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;",
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/util/concurrent/Callable<",
|
||||
"TR;>;"
|
||||
}
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Func2.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -17,7 +14,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Func3.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -19,7 +16,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Func4.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -21,7 +18,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Func5.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -23,7 +20,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Func6.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -25,7 +22,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Func7.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -27,7 +24,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Func8.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -29,7 +26,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "Func9.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -31,7 +28,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.super Ljava/lang/Object;
|
||||
.source "FuncN.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -13,7 +10,7 @@
|
|||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
|
|
@ -40,9 +40,7 @@
|
|||
|
||||
iput-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
iget-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
invoke-virtual {v0, p1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -128,62 +126,6 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(Lrx/Subscription;)V
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
iget-boolean v1, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-interface {v0, p1}, Ljava/util/List;->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
|
||||
|
||||
|
@ -269,7 +211,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
invoke-static {v1}, Lf/o/a/j/a;->a(Ljava/util/List;)V
|
||||
invoke-static {v1}, Lj0/i/u;->Z(Ljava/util/List;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lg0/g;
|
||||
.field public final d:Lr0/g;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lg0/g<",
|
||||
"Lr0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -27,6 +27,29 @@
|
|||
|
||||
|
||||
# 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, Lr0/n/c;
|
||||
|
||||
invoke-direct {v0, p1}, Lr0/n/c;-><init>(Lr0/g;)V
|
||||
|
||||
iput-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lr0/g;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lrx/Subscriber;Z)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -39,11 +62,11 @@
|
|||
|
||||
invoke-direct {p0, p1, p2}, Lrx/Subscriber;-><init>(Lrx/Subscriber;Z)V
|
||||
|
||||
new-instance p2, Lg0/o/c;
|
||||
new-instance p2, Lr0/n/c;
|
||||
|
||||
invoke-direct {p2, p1}, Lg0/o/c;-><init>(Lg0/g;)V
|
||||
invoke-direct {p2, p1}, Lr0/n/c;-><init>(Lr0/g;)V
|
||||
|
||||
iput-object p2, p0, Lrx/observers/SerializedSubscriber;->d:Lg0/g;
|
||||
iput-object p2, p0, Lrx/observers/SerializedSubscriber;->d:Lr0/g;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -53,9 +76,9 @@
|
|||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lg0/g;
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lr0/g;
|
||||
|
||||
invoke-interface {v0}, Lg0/g;->onCompleted()V
|
||||
invoke-interface {v0}, Lr0/g;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -63,9 +86,9 @@
|
|||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lg0/g;
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lr0/g;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
invoke-interface {v0, p1}, Lr0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -78,9 +101,9 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lg0/g;
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lr0/g;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
invoke-interface {v0, p1}, Lr0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lrx/subjects/BehaviorSubject;->a(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
value = Lrx/subjects/BehaviorSubject;->g0(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -20,21 +20,21 @@
|
|||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Lg0/r/b$c<",
|
||||
"Lr0/q/c$b<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lg0/r/b;
|
||||
.field public final synthetic d:Lr0/q/c;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lg0/r/b;)V
|
||||
.method public constructor <init>(Lr0/q/c;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/BehaviorSubject$a;->d:Lg0/r/b;
|
||||
iput-object p1, p0, Lrx/subjects/BehaviorSubject$a;->d:Lr0/q/c;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -44,17 +44,200 @@
|
|||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.locals 8
|
||||
|
||||
check-cast p1, Lg0/r/b$c;
|
||||
check-cast p1, Lr0/q/c$b;
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject$a;->d:Lg0/r/b;
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject$a;->d:Lr0/q/c;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
iget-object v0, v0, Lr0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
monitor-enter p1
|
||||
|
||||
invoke-virtual {p1, v0}, Lg0/r/b$c;->a(Ljava/lang/Object;)V
|
||||
:try_start_0
|
||||
iget-boolean v1, p1, Lr0/q/c$b;->e:Z
|
||||
|
||||
if-eqz v1, :cond_7
|
||||
|
||||
iget-boolean v1, p1, Lr0/q/c$b;->f:Z
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-boolean v1, p1, Lr0/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, Lr0/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, Lr0/q/c$b;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-static {v7, v6}, Lr0/l/a/h;->a(Lr0/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, Lr0/q/c$b;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-static {v4, v0}, Lr0/l/a/h;->a(Lr0/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, Lr0/q/c$b;->g:Ljava/util/List;
|
||||
|
||||
iput-object v3, p1, Lr0/q/c$b;->g:Ljava/util/List;
|
||||
|
||||
if-nez v4, :cond_5
|
||||
|
||||
iput-boolean v1, p1, Lr0/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, Lr0/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
|
||||
|
|
|
@ -15,11 +15,15 @@
|
|||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final f:[Ljava/lang/Object;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final e:Lg0/r/b;
|
||||
.field public final e:Lr0/q/c;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lg0/r/b<",
|
||||
"Lr0/q/c<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -27,89 +31,38 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Observable$a;Lg0/r/b;)V
|
||||
.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;Lr0/q/c;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Observable$a<",
|
||||
"TT;>;",
|
||||
"Lg0/r/b<",
|
||||
"Lr0/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:Lg0/r/b;
|
||||
iput-object p2, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(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;->a(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static a(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, Lg0/r/b;
|
||||
|
||||
invoke-direct {v0}, Lg0/r/b;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p0}, Lg0/m/a/h;->e(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-virtual {v0, p0}, Lg0/r/b;->b(Ljava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Lrx/subjects/BehaviorSubject$a;
|
||||
|
||||
invoke-direct {p0, v0}, Lrx/subjects/BehaviorSubject$a;-><init>(Lg0/r/b;)V
|
||||
|
||||
iput-object p0, v0, Lg0/r/b;->onAdded:Lrx/functions/Action1;
|
||||
|
||||
iget-object p0, v0, Lg0/r/b;->onAdded:Lrx/functions/Action1;
|
||||
|
||||
iput-object p0, v0, Lg0/r/b;->onTerminated:Lrx/functions/Action1;
|
||||
|
||||
new-instance p0, Lrx/subjects/BehaviorSubject;
|
||||
|
||||
invoke-direct {p0, v0, v0}, Lrx/subjects/BehaviorSubject;-><init>(Lrx/Observable$a;Lg0/r/b;)V
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static p()Lrx/subjects/BehaviorSubject;
|
||||
.method public static e0()Lrx/subjects/BehaviorSubject;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -125,16 +78,78 @@
|
|||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-static {v0, v1}, Lrx/subjects/BehaviorSubject;->a(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
invoke-static {v0, v1}, Lrx/subjects/BehaviorSubject;->g0(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static f0(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;->g0(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static g0(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, Lr0/q/c;
|
||||
|
||||
invoke-direct {v0}, Lr0/q/c;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
sget-object p0, Lr0/l/a/h;->b:Ljava/lang/Object;
|
||||
|
||||
:cond_0
|
||||
iput-object p0, v0, Lr0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
:cond_1
|
||||
new-instance p0, Lrx/subjects/BehaviorSubject$a;
|
||||
|
||||
invoke-direct {p0, v0}, Lrx/subjects/BehaviorSubject$a;-><init>(Lr0/q/c;)V
|
||||
|
||||
iput-object p0, v0, Lr0/q/c;->onAdded:Lrx/functions/Action1;
|
||||
|
||||
iput-object p0, v0, Lr0/q/c;->onTerminated:Lrx/functions/Action1;
|
||||
|
||||
new-instance p0, Lrx/subjects/BehaviorSubject;
|
||||
|
||||
invoke-direct {p0, v0, v0}, Lrx/subjects/BehaviorSubject;-><init>(Lrx/Observable$a;Lr0/q/c;)V
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public o()Ljava/lang/Object;
|
||||
.method public h0()Ljava/lang/Object;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -142,25 +157,39 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
iget-object v0, v0, Lr0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {v0}, Lg0/m/a/h;->d(Ljava/lang/Object;)Z
|
||||
instance-of v1, v0, Lr0/l/a/h$c;
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
invoke-static {v0}, Lr0/l/a/h;->c(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
if-nez v1, :cond_0
|
||||
|
||||
invoke-static {v0}, Lg0/m/a/h;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-static {v0}, Lr0/l/a/h;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
return-object v0
|
||||
|
@ -169,26 +198,24 @@
|
|||
.method public onCompleted()V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
iget-object v0, v0, Lr0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
iget-boolean v0, v0, Lg0/r/b;->active:Z
|
||||
iget-boolean v0, v0, Lr0/q/c;->active:Z
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lg0/m/a/h;->a:Ljava/lang/Object;
|
||||
sget-object v0, Lr0/l/a/h;->a:Ljava/lang/Object;
|
||||
|
||||
iget-object v1, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
iget-object v1, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
invoke-virtual {v1, v0}, Lg0/r/b;->c(Ljava/lang/Object;)[Lg0/r/b$c;
|
||||
invoke-virtual {v1, v0}, Lr0/q/c;->b(Ljava/lang/Object;)[Lr0/q/c$b;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
@ -201,7 +228,7 @@
|
|||
|
||||
aget-object v4, v1, v3
|
||||
|
||||
invoke-virtual {v4, v0}, Lg0/r/b$c;->b(Ljava/lang/Object;)V
|
||||
invoke-virtual {v4, v0}, Lr0/q/c$b;->a(Ljava/lang/Object;)V
|
||||
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
|
@ -214,30 +241,28 @@
|
|||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
iget-object v0, v0, Lr0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
iget-boolean v0, v0, Lg0/r/b;->active:Z
|
||||
iget-boolean v0, v0, Lr0/q/c;->active:Z
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
:cond_0
|
||||
invoke-static {p1}, Lg0/m/a/h;->a(Ljava/lang/Throwable;)Ljava/lang/Object;
|
||||
new-instance v0, Lr0/l/a/h$c;
|
||||
|
||||
move-result-object p1
|
||||
invoke-direct {v0, p1}, Lr0/l/a/h$c;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
const/4 p1, 0x0
|
||||
|
||||
iget-object v1, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
iget-object v1, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
invoke-virtual {v1, p1}, Lg0/r/b;->c(Ljava/lang/Object;)[Lg0/r/b$c;
|
||||
invoke-virtual {v1, v0}, Lr0/q/c;->b(Ljava/lang/Object;)[Lr0/q/c$b;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
@ -251,7 +276,7 @@
|
|||
aget-object v4, v1, v3
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {v4, p1}, Lg0/r/b$c;->b(Ljava/lang/Object;)V
|
||||
invoke-virtual {v4, v0}, Lr0/q/c$b;->a(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
|
@ -260,14 +285,14 @@
|
|||
:catchall_0
|
||||
move-exception v4
|
||||
|
||||
if-nez v0, :cond_1
|
||||
if-nez p1, :cond_1
|
||||
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
new-instance p1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||||
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
:cond_1
|
||||
invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
invoke-interface {p1, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
@ -275,7 +300,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-static {v0}, Lf/o/a/j/a;->a(Ljava/util/List;)V
|
||||
invoke-static {p1}, Lj0/i/u;->Z(Ljava/util/List;)V
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
|
@ -289,46 +314,51 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
iget-object v0, v0, Lr0/q/c;->latest:Ljava/lang/Object;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
iget-boolean v0, v0, Lg0/r/b;->active:Z
|
||||
iget-boolean v0, v0, Lr0/q/c;->active:Z
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
:cond_0
|
||||
invoke-static {p1}, Lg0/m/a/h;->e(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
if-nez p1, :cond_1
|
||||
|
||||
move-result-object p1
|
||||
sget-object p1, Lr0/l/a/h;->b:Ljava/lang/Object;
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
:cond_1
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lr0/q/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lg0/r/b;->a(Ljava/lang/Object;)[Lg0/r/b$c;
|
||||
iput-object p1, v0, Lr0/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, Lr0/q/c$a;
|
||||
|
||||
iget-object v0, v0, Lr0/q/c$a;->b:[Lr0/q/c$b;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_1
|
||||
if-ge v2, v1, :cond_2
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
invoke-virtual {v3, p1}, Lg0/r/b$c;->b(Ljava/lang/Object;)V
|
||||
invoke-virtual {v3, p1}, Lr0/q/c$b;->a(Ljava/lang/Object;)V
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# interfaces
|
||||
.implements Lrx/Producer;
|
||||
.implements Lrx/Subscription;
|
||||
.implements Lg0/g;
|
||||
.implements Lr0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
|
@ -26,7 +26,7 @@
|
|||
"Ljava/util/concurrent/atomic/AtomicLong;",
|
||||
"Lrx/Producer;",
|
||||
"Lrx/Subscription;",
|
||||
"Lg0/g<",
|
||||
"Lr0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -82,43 +82,6 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public a(J)V
|
||||
.locals 5
|
||||
|
||||
invoke-static {p1, p2}, Lf/o/a/j/a;->a(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}, Lf/o/a/j/a;->a(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 isUnsubscribed()Z
|
||||
.locals 5
|
||||
|
||||
|
@ -143,6 +106,43 @@
|
|||
return v0
|
||||
.end method
|
||||
|
||||
.method public n(J)V
|
||||
.locals 5
|
||||
|
||||
invoke-static {p1, p2}, Lj0/i/u;->g0(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}, Lj0/i/u;->c(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
|
||||
|
||||
|
@ -158,7 +158,7 @@
|
|||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0}, Lg0/g;->onCompleted()V
|
||||
invoke-interface {v0}, Lr0/g;->onCompleted()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
@ -179,7 +179,7 @@
|
|||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
invoke-interface {v0, p1}, Lr0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
@ -217,7 +217,7 @@
|
|||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
invoke-interface {v0, p1}, Lr0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
@ -226,13 +226,13 @@
|
|||
|
||||
iget-object p1, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
new-instance v0, Lg0/k/b;
|
||||
new-instance v0, Lrx/exceptions/MissingBackpressureException;
|
||||
|
||||
const-string v1, "PublishSubject: could not emit value due to lack of requests"
|
||||
|
||||
invoke-direct {v0, v1}, Lg0/k/b;-><init>(Ljava/lang/String;)V
|
||||
invoke-direct {v0, v1}, Lrx/exceptions/MissingBackpressureException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p1, v0}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
invoke-interface {p1, v0}, Lr0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
|
@ -254,7 +254,7 @@
|
|||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->parent:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-virtual {v0, p0}, Lrx/subjects/PublishSubject$b;->b(Lrx/subjects/PublishSubject$a;)V
|
||||
invoke-virtual {v0, p0}, Lrx/subjects/PublishSubject$b;->a(Lrx/subjects/PublishSubject$a;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
# interfaces
|
||||
.implements Lrx/Observable$a;
|
||||
.implements Lg0/g;
|
||||
.implements Lr0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
|
@ -28,7 +28,7 @@
|
|||
"TT;>;>;",
|
||||
"Lrx/Observable$a<",
|
||||
"TT;>;",
|
||||
"Lg0/g<",
|
||||
"Lr0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -77,105 +77,7 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lrx/Subscriber;)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
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
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/subjects/PublishSubject$b;->a(Lrx/subjects/PublishSubject$a;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lrx/subjects/PublishSubject$a;->isUnsubscribed()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/subjects/PublishSubject$b;->b(Lrx/subjects/PublishSubject$a;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$b;->error:Ljava/lang/Throwable;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-interface {p1, v0}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-interface {p1}, Lg0/g;->onCompleted()V
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public a(Lrx/subjects/PublishSubject$a;)Z
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/PublishSubject$a<",
|
||||
"TT;>;)Z"
|
||||
}
|
||||
.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;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-ne v0, v1, :cond_1
|
||||
|
||||
return v2
|
||||
|
||||
:cond_1
|
||||
array-length v1, v0
|
||||
|
||||
add-int/lit8 v3, v1, 0x1
|
||||
|
||||
new-array v3, v3, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-static {v0, v2, v3, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
aput-object p1, v3, v1
|
||||
|
||||
invoke-virtual {p0, v0, v3}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public b(Lrx/subjects/PublishSubject$a;)V
|
||||
.method public a(Lrx/subjects/PublishSubject$a;)V
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -205,31 +107,29 @@
|
|||
:cond_1
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, -0x1
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v4, v1, :cond_3
|
||||
if-ge v3, v1, :cond_3
|
||||
|
||||
aget-object v5, v0, v4
|
||||
aget-object v4, v0, v3
|
||||
|
||||
if-ne v5, p1, :cond_2
|
||||
|
||||
move v2, v4
|
||||
if-ne v4, p1, :cond_2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
add-int/lit8 v4, v4, 0x1
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const/4 v3, -0x1
|
||||
|
||||
:goto_1
|
||||
if-gez v2, :cond_4
|
||||
if-gez v3, :cond_4
|
||||
|
||||
return-void
|
||||
|
||||
|
@ -247,15 +147,15 @@
|
|||
|
||||
new-array v5, v5, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-static {v0, v3, v5, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
invoke-static {v0, v2, v5, v2, v3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
add-int/lit8 v3, v2, 0x1
|
||||
add-int/lit8 v2, v3, 0x1
|
||||
|
||||
sub-int/2addr v1, v2
|
||||
sub-int/2addr v1, v3
|
||||
|
||||
sub-int/2addr v1, v4
|
||||
|
||||
invoke-static {v0, v3, v5, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
invoke-static {v0, v2, v5, v3, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
move-object v1, v5
|
||||
|
||||
|
@ -271,13 +171,80 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 5
|
||||
|
||||
check-cast p1, Lrx/Subscriber;
|
||||
|
||||
invoke-virtual {p0, p1}, Lrx/subjects/PublishSubject$b;->a(Lrx/Subscriber;)V
|
||||
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}, Lr0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
invoke-interface {p1}, Lr0/g;->onCompleted()V
|
||||
|
||||
:cond_4
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -362,7 +329,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-static {v2}, Lf/o/a/j/a;->a(Ljava/util/List;)V
|
||||
invoke-static {v2}, Lj0/i/u;->Z(Ljava/util/List;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public static o()Lrx/subjects/PublishSubject;
|
||||
.method public static e0()Lrx/subjects/PublishSubject;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject$a;->d:Lrx/subjects/Subject;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/Observable;->b(Lrx/Subscriber;)Lrx/Subscription;
|
||||
invoke-virtual {v0, p1}, Lrx/Observable;->c0(Lrx/Subscriber;)Lrx/Subscription;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final e:Lg0/o/c;
|
||||
.field public final e:Lr0/n/c;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lg0/o/c<",
|
||||
"Lr0/n/c<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -45,11 +45,11 @@
|
|||
|
||||
invoke-direct {p0, v0}, Lrx/subjects/Subject;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
new-instance v0, Lg0/o/c;
|
||||
new-instance v0, Lr0/n/c;
|
||||
|
||||
invoke-direct {v0, p1}, Lg0/o/c;-><init>(Lg0/g;)V
|
||||
invoke-direct {v0, p1}, Lr0/n/c;-><init>(Lr0/g;)V
|
||||
|
||||
iput-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lg0/o/c;
|
||||
iput-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lr0/n/c;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -59,9 +59,9 @@
|
|||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lg0/o/c;
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lr0/n/c;
|
||||
|
||||
invoke-virtual {v0}, Lg0/o/c;->onCompleted()V
|
||||
invoke-virtual {v0}, Lr0/n/c;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -69,9 +69,9 @@
|
|||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lg0/o/c;
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lr0/n/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lg0/o/c;->onError(Ljava/lang/Throwable;)V
|
||||
invoke-virtual {v0, p1}, Lr0/n/c;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -84,9 +84,9 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lg0/o/c;
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lr0/n/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lg0/o/c;->onNext(Ljava/lang/Object;)V
|
||||
invoke-virtual {v0, p1}, Lr0/n/c;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "Subject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/g;
|
||||
.implements Lr0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
|
@ -16,7 +16,7 @@
|
|||
">",
|
||||
"Lrx/Observable<",
|
||||
"TR;>;",
|
||||
"Lg0/g<",
|
||||
"Lr0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -37,37 +37,3 @@
|
|||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final n()Lrx/subjects/SerializedSubject;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lrx/subjects/SerializedSubject<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-class v1, Lrx/subjects/SerializedSubject;
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
check-cast v0, Lrx/subjects/SerializedSubject;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Lrx/subjects/SerializedSubject;
|
||||
|
||||
invoke-direct {v0, p0}, Lrx/subjects/SerializedSubject;-><init>(Lrx/subjects/Subject;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
|
|
@ -29,25 +29,7 @@
|
|||
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/HashSet;
|
||||
|
||||
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
|
||||
iput-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(Ljava/util/Collection;)V
|
||||
.method public static d(Ljava/util/Collection;)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -104,69 +86,13 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-static {v0}, Lf/o/a/j/a;->a(Ljava/util/List;)V
|
||||
invoke-static {v0}, Lj0/i/u;->Z(Ljava/util/List;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()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;->a(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 a(Lrx/Subscription;)V
|
||||
.locals 2
|
||||
|
||||
|
@ -232,7 +158,63 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(Lrx/Subscription;)V
|
||||
.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
|
||||
|
@ -331,7 +313,7 @@
|
|||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-static {v0}, Lrx/subscriptions/CompositeSubscription;->a(Ljava/util/Collection;)V
|
||||
invoke-static {v0}, Lrx/subscriptions/CompositeSubscription;->d(Ljava/util/Collection;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lg0/m/d/a;
|
||||
.field public final d:Lr0/l/d/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
|
@ -16,35 +16,23 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Lg0/m/d/a;
|
||||
new-instance v0, Lr0/l/d/a;
|
||||
|
||||
invoke-direct {v0}, Lg0/m/d/a;-><init>()V
|
||||
invoke-direct {v0}, Lr0/l/d/a;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
iput-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lr0/l/d/a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Lrx/Subscription;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
|
||||
invoke-virtual {v0}, Lg0/m/d/a;->a()Lrx/Subscription;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public a(Lrx/Subscription;)V
|
||||
.locals 3
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lr0/l/d/a;
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
@ -53,7 +41,7 @@
|
|||
|
||||
check-cast v1, Lrx/Subscription;
|
||||
|
||||
sget-object v2, Lg0/m/d/b;->d:Lg0/m/d/b;
|
||||
sget-object v2, Lr0/l/d/b;->d:Lr0/l/d/b;
|
||||
|
||||
if-ne v1, v2, :cond_1
|
||||
|
||||
|
@ -89,9 +77,9 @@
|
|||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lr0/l/d/a;
|
||||
|
||||
invoke-virtual {v0}, Lg0/m/d/a;->isUnsubscribed()Z
|
||||
invoke-virtual {v0}, Lr0/l/d/a;->isUnsubscribed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
|
@ -101,9 +89,9 @@
|
|||
.method public unsubscribe()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lr0/l/d/a;
|
||||
|
||||
invoke-virtual {v0}, Lg0/m/d/a;->unsubscribe()V
|
||||
invoke-virtual {v0}, Lr0/l/d/a;->unsubscribe()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue