public final class io.reactivex.subjects.UnicastSubject<T> extends io.reactivex.subjects.Subject<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.subjects.UnicastSubject
super_class: io.reactivex.subjects.Subject
{
final io.reactivex.internal.queue.SpscLinkedArrayQueue<T> queue;
descriptor: Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TT;>;
final java.util.concurrent.atomic.AtomicReference<io.reactivex.Observer<? super T>> downstream;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/Observer<-TT;>;>;
final java.util.concurrent.atomic.AtomicReference<java.lang.Runnable> onTerminate;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Runnable;>;
final boolean delayError;
descriptor: Z
flags: (0x0010) ACC_FINAL
volatile boolean disposed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
final java.util.concurrent.atomic.AtomicBoolean once;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
final io.reactivex.internal.observers.BasicIntQueueDisposable<T> wip;
descriptor: Lio/reactivex/internal/observers/BasicIntQueueDisposable;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/internal/observers/BasicIntQueueDisposable<TT;>;
boolean enableOperatorFusion;
descriptor: Z
flags: (0x0000)
public static <T> io.reactivex.subjects.UnicastSubject<T> create();
descriptor: ()Lio/reactivex/subjects/UnicastSubject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new io.reactivex.subjects.UnicastSubject
dup
invokestatic io.reactivex.subjects.UnicastSubject.bufferSize:()I
iconst_1
invokespecial io.reactivex.subjects.UnicastSubject.<init>:(IZ)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <T:Ljava/lang/Object;>()Lio/reactivex/subjects/UnicastSubject<TT;>;
RuntimeVisibleAnnotations:
io.reactivex.annotations.CheckReturnValue()
RuntimeInvisibleAnnotations:
io.reactivex.annotations.NonNull()
public static <T> io.reactivex.subjects.UnicastSubject<T> create(int);
descriptor: (I)Lio/reactivex/subjects/UnicastSubject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.reactivex.subjects.UnicastSubject
dup
iload 0
iconst_1
invokespecial io.reactivex.subjects.UnicastSubject.<init>:(IZ)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 capacityHint I
Signature: <T:Ljava/lang/Object;>(I)Lio/reactivex/subjects/UnicastSubject<TT;>;
RuntimeVisibleAnnotations:
io.reactivex.annotations.CheckReturnValue()
RuntimeInvisibleAnnotations:
io.reactivex.annotations.NonNull()
MethodParameters:
Name Flags
capacityHint
public static <T> io.reactivex.subjects.UnicastSubject<T> create(int, java.lang.Runnable);
descriptor: (ILjava/lang/Runnable;)Lio/reactivex/subjects/UnicastSubject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new io.reactivex.subjects.UnicastSubject
dup
iload 0
aload 1
iconst_1
invokespecial io.reactivex.subjects.UnicastSubject.<init>:(ILjava/lang/Runnable;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 capacityHint I
0 1 1 onTerminate Ljava/lang/Runnable;
Signature: <T:Ljava/lang/Object;>(ILjava/lang/Runnable;)Lio/reactivex/subjects/UnicastSubject<TT;>;
RuntimeVisibleAnnotations:
io.reactivex.annotations.CheckReturnValue()
RuntimeInvisibleAnnotations:
io.reactivex.annotations.NonNull()
MethodParameters:
Name Flags
capacityHint
onTerminate
public static <T> io.reactivex.subjects.UnicastSubject<T> create(int, java.lang.Runnable, boolean);
descriptor: (ILjava/lang/Runnable;Z)Lio/reactivex/subjects/UnicastSubject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.reactivex.subjects.UnicastSubject
dup
iload 0
aload 1
iload 2
invokespecial io.reactivex.subjects.UnicastSubject.<init>:(ILjava/lang/Runnable;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 capacityHint I
0 1 1 onTerminate Ljava/lang/Runnable;
0 1 2 delayError Z
Signature: <T:Ljava/lang/Object;>(ILjava/lang/Runnable;Z)Lio/reactivex/subjects/UnicastSubject<TT;>;
RuntimeVisibleAnnotations:
io.reactivex.annotations.CheckReturnValue()
RuntimeInvisibleAnnotations:
io.reactivex.annotations.NonNull()
MethodParameters:
Name Flags
capacityHint
onTerminate
delayError
public static <T> io.reactivex.subjects.UnicastSubject<T> create(boolean);
descriptor: (Z)Lio/reactivex/subjects/UnicastSubject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.reactivex.subjects.UnicastSubject
dup
invokestatic io.reactivex.subjects.UnicastSubject.bufferSize:()I
iload 0
invokespecial io.reactivex.subjects.UnicastSubject.<init>:(IZ)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 delayError Z
Signature: <T:Ljava/lang/Object;>(Z)Lio/reactivex/subjects/UnicastSubject<TT;>;
RuntimeVisibleAnnotations:
io.reactivex.annotations.CheckReturnValue()
RuntimeInvisibleAnnotations:
io.reactivex.annotations.NonNull()
MethodParameters:
Name Flags
delayError
void <init>(int, boolean);
descriptor: (IZ)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial io.reactivex.subjects.Subject.<init>:()V
1: aload 0
new io.reactivex.internal.queue.SpscLinkedArrayQueue
dup
iload 1
ldc "capacityHint"
invokestatic io.reactivex.internal.functions.ObjectHelper.verifyPositive:(ILjava/lang/String;)I
invokespecial io.reactivex.internal.queue.SpscLinkedArrayQueue.<init>:(I)V
putfield io.reactivex.subjects.UnicastSubject.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.subjects.UnicastSubject.onTerminate:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
iload 2
putfield io.reactivex.subjects.UnicastSubject.delayError:Z
4: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
5: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.subjects.UnicastSubject.once:Ljava/util/concurrent/atomic/AtomicBoolean;
6: aload 0
new io.reactivex.subjects.UnicastSubject$UnicastQueueDisposable
dup
aload 0
invokespecial io.reactivex.subjects.UnicastSubject$UnicastQueueDisposable.<init>:(Lio/reactivex/subjects/UnicastSubject;)V
putfield io.reactivex.subjects.UnicastSubject.wip:Lio/reactivex/internal/observers/BasicIntQueueDisposable;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 8 1 capacityHint I
0 8 2 delayError Z
MethodParameters:
Name Flags
capacityHint
delayError
void <init>(int, java.lang.Runnable);
descriptor: (ILjava/lang/Runnable;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
iconst_1
invokespecial io.reactivex.subjects.UnicastSubject.<init>:(ILjava/lang/Runnable;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 2 1 capacityHint I
0 2 2 onTerminate Ljava/lang/Runnable;
MethodParameters:
Name Flags
capacityHint
onTerminate
void <init>(int, java.lang.Runnable, boolean);
descriptor: (ILjava/lang/Runnable;Z)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial io.reactivex.subjects.Subject.<init>:()V
1: aload 0
new io.reactivex.internal.queue.SpscLinkedArrayQueue
dup
iload 1
ldc "capacityHint"
invokestatic io.reactivex.internal.functions.ObjectHelper.verifyPositive:(ILjava/lang/String;)I
invokespecial io.reactivex.internal.queue.SpscLinkedArrayQueue.<init>:(I)V
putfield io.reactivex.subjects.UnicastSubject.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
aload 2
ldc "onTerminate"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Runnable
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield io.reactivex.subjects.UnicastSubject.onTerminate:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
iload 3
putfield io.reactivex.subjects.UnicastSubject.delayError:Z
4: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
5: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.subjects.UnicastSubject.once:Ljava/util/concurrent/atomic/AtomicBoolean;
6: aload 0
new io.reactivex.subjects.UnicastSubject$UnicastQueueDisposable
dup
aload 0
invokespecial io.reactivex.subjects.UnicastSubject$UnicastQueueDisposable.<init>:(Lio/reactivex/subjects/UnicastSubject;)V
putfield io.reactivex.subjects.UnicastSubject.wip:Lio/reactivex/internal/observers/BasicIntQueueDisposable;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 8 1 capacityHint I
0 8 2 onTerminate Ljava/lang/Runnable;
0 8 3 delayError Z
MethodParameters:
Name Flags
capacityHint
onTerminate
delayError
protected void subscribeActual(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.once:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 8
aload 0
getfield io.reactivex.subjects.UnicastSubject.once:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 8
1: aload 1
aload 0
getfield io.reactivex.subjects.UnicastSubject.wip:Lio/reactivex/internal/observers/BasicIntQueueDisposable;
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
2: aload 0
getfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
3: aload 0
getfield io.reactivex.subjects.UnicastSubject.disposed:Z
ifeq 6
4: aload 0
getfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.subjects.UnicastSubject.drain:()V
7: goto 9
8: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Only a single observer allowed."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
aload 1
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/Observer;)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 10 1 observer Lio/reactivex/Observer<-TT;>;
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
observer
void doTerminate();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.onTerminate:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Runnable
astore 1
start local 1 1: aload 1
ifnull 3
aload 0
getfield io.reactivex.subjects.UnicastSubject.onTerminate:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 3
2: aload 1
invokeinterface java.lang.Runnable.run:()V
3: StackMap locals: java.lang.Runnable
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
1 4 1 r Ljava/lang/Runnable;
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.done:Z
ifne 1
aload 0
getfield io.reactivex.subjects.UnicastSubject.disposed:Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 3 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "onNext called with null. Null values are generally not allowed in 2.x operators and sources."
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.reactivex.subjects.UnicastSubject.done:Z
ifne 2
aload 0
getfield io.reactivex.subjects.UnicastSubject.disposed:Z
ifeq 3
2: StackMap locals:
StackMap stack:
return
3: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
aload 1
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.offer:(Ljava/lang/Object;)Z
pop
4: aload 0
invokevirtual io.reactivex.subjects.UnicastSubject.drain:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 6 1 t TT;
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "onError called with null. Null values are generally not allowed in 2.x operators and sources."
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.reactivex.subjects.UnicastSubject.done:Z
ifne 2
aload 0
getfield io.reactivex.subjects.UnicastSubject.disposed:Z
ifeq 4
2: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
3: return
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.reactivex.subjects.UnicastSubject.error:Ljava/lang/Throwable;
5: aload 0
iconst_1
putfield io.reactivex.subjects.UnicastSubject.done:Z
6: aload 0
invokevirtual io.reactivex.subjects.UnicastSubject.doTerminate:()V
7: aload 0
invokevirtual io.reactivex.subjects.UnicastSubject.drain:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 9 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.done:Z
ifne 1
aload 0
getfield io.reactivex.subjects.UnicastSubject.disposed:Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.subjects.UnicastSubject.done:Z
3: aload 0
invokevirtual io.reactivex.subjects.UnicastSubject.doTerminate:()V
4: aload 0
invokevirtual io.reactivex.subjects.UnicastSubject.drain:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
void drainNormal(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0000)
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: aload 0
getfield io.reactivex.subjects.UnicastSubject.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
astore 3
start local 3 2: aload 0
getfield io.reactivex.subjects.UnicastSubject.delayError:Z
ifeq 3
iconst_0
goto 4
StackMap locals: int io.reactivex.internal.fuseable.SimpleQueue
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: istore 4
start local 4 5: iconst_1
istore 5
start local 5 6: StackMap locals: int int
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.disposed:Z
ifeq 10
7: aload 0
getfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
8: aload 3
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
9: return
10: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.done:Z
istore 6
start local 6 11: aload 0
getfield io.reactivex.subjects.UnicastSubject.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.poll:()Ljava/lang/Object;
astore 7
start local 7 12: aload 7
ifnonnull 13
iconst_1
goto 14
StackMap locals: int java.lang.Object
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 8
start local 8 15: iload 6
ifeq 23
16: iload 4
ifeq 20
iload 5
ifeq 20
17: aload 0
aload 3
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.failedFast:(Lio/reactivex/internal/fuseable/SimpleQueue;Lio/reactivex/Observer;)Z
ifeq 19
18: return
19: StackMap locals: int
StackMap stack:
iconst_0
istore 5
20: StackMap locals:
StackMap stack:
iload 8
ifeq 23
21: aload 0
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.errorOrComplete:(Lio/reactivex/Observer;)V
22: return
23: StackMap locals:
StackMap stack:
iload 8
ifeq 25
24: goto 27
25: StackMap locals:
StackMap stack:
aload 1
aload 7
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
end local 8 end local 7 end local 6 26: goto 6
27: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.wip:Lio/reactivex/internal/observers/BasicIntQueueDisposable;
iload 2
ineg
invokevirtual io.reactivex.internal.observers.BasicIntQueueDisposable.addAndGet:(I)I
istore 2
28: iload 2
ifne 6
29: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 30 1 a Lio/reactivex/Observer<-TT;>;
1 30 2 missed I
2 30 3 q Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
5 30 4 failFast Z
6 30 5 canBeError Z
11 26 6 d Z
12 26 7 v TT;
15 26 8 empty Z
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
a
void drainFused(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: aload 0
getfield io.reactivex.subjects.UnicastSubject.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
astore 3
start local 3 2: aload 0
getfield io.reactivex.subjects.UnicastSubject.delayError:Z
ifeq 3
iconst_0
goto 4
StackMap locals: int io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: istore 4
start local 4 5: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.disposed:Z
ifeq 9
6: aload 0
getfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
7: aload 3
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
8: return
9: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.done:Z
istore 5
start local 5 10: iload 4
ifeq 13
iload 5
ifeq 13
11: aload 0
aload 3
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.failedFast:(Lio/reactivex/internal/fuseable/SimpleQueue;Lio/reactivex/Observer;)Z
ifeq 13
12: return
13: StackMap locals: int
StackMap stack:
aload 1
aconst_null
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
14: iload 5
ifeq 17
15: aload 0
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.errorOrComplete:(Lio/reactivex/Observer;)V
16: return
17: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.wip:Lio/reactivex/internal/observers/BasicIntQueueDisposable;
iload 2
ineg
invokevirtual io.reactivex.internal.observers.BasicIntQueueDisposable.addAndGet:(I)I
istore 2
18: iload 2
ifne 5
end local 5 19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 20 1 a Lio/reactivex/Observer<-TT;>;
1 20 2 missed I
2 20 3 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TT;>;
5 20 4 failFast Z
10 19 5 d Z
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
a
void errorOrComplete(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
1: aload 0
getfield io.reactivex.subjects.UnicastSubject.error:Ljava/lang/Throwable;
astore 2
start local 2 2: aload 2
ifnull 5
3: aload 1
aload 2
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
4: goto 6
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
invokeinterface io.reactivex.Observer.onComplete:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 7 1 a Lio/reactivex/Observer<-TT;>;
2 7 2 ex Ljava/lang/Throwable;
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
a
boolean failedFast(io.reactivex.internal.fuseable.SimpleQueue<T>, io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/internal/fuseable/SimpleQueue;Lio/reactivex/Observer;)Z
flags: (0x0000)
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.error:Ljava/lang/Throwable;
astore 3
start local 3 1: aload 3
ifnull 6
2: aload 0
getfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
3: aload 1
invokeinterface io.reactivex.internal.fuseable.SimpleQueue.clear:()V
4: aload 2
aload 3
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
5: iconst_1
ireturn
6: StackMap locals: java.lang.Throwable
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
0 7 1 q Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
0 7 2 a Lio/reactivex/Observer<-TT;>;
1 7 3 ex Ljava/lang/Throwable;
Signature: (Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;Lio/reactivex/Observer<-TT;>;)Z
MethodParameters:
Name Flags
q final
a
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.wip:Lio/reactivex/internal/observers/BasicIntQueueDisposable;
invokevirtual io.reactivex.internal.observers.BasicIntQueueDisposable.getAndIncrement:()I
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.Observer
astore 1
start local 1 3: iconst_1
istore 2
start local 2 4: StackMap locals: io.reactivex.Observer int
StackMap stack:
aload 1
ifnull 10
5: aload 0
getfield io.reactivex.subjects.UnicastSubject.enableOperatorFusion:Z
ifeq 8
6: aload 0
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.drainFused:(Lio/reactivex/Observer;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.drainNormal:(Lio/reactivex/Observer;)V
9: StackMap locals:
StackMap stack:
return
10: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.wip:Lio/reactivex/internal/observers/BasicIntQueueDisposable;
iload 2
ineg
invokevirtual io.reactivex.internal.observers.BasicIntQueueDisposable.addAndGet:(I)I
istore 2
11: iload 2
ifne 13
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.Observer
astore 1
14: goto 4
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
3 16 1 a Lio/reactivex/Observer<-TT;>;
4 16 2 missed I
public boolean hasObservers();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.downstream:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
public java.lang.Throwable getThrowable();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.done:Z
ifeq 2
1: aload 0
getfield io.reactivex.subjects.UnicastSubject.error:Ljava/lang/Throwable;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
RuntimeInvisibleAnnotations:
io.reactivex.annotations.Nullable()
public boolean hasThrowable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.done:Z
ifeq 1
aload 0
getfield io.reactivex.subjects.UnicastSubject.error:Ljava/lang/Throwable;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
public boolean hasComplete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.subjects.UnicastSubject.done:Z
ifeq 1
aload 0
getfield io.reactivex.subjects.UnicastSubject.error:Ljava/lang/Throwable;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/subjects/UnicastSubject<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/subjects/Subject<TT;>;
SourceFile: "UnicastSubject.java"
NestMembers:
io.reactivex.subjects.UnicastSubject$UnicastQueueDisposable
InnerClasses:
final UnicastQueueDisposable = io.reactivex.subjects.UnicastSubject$UnicastQueueDisposable of io.reactivex.subjects.UnicastSubject