final class io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver<T, R> extends java.util.concurrent.atomic.AtomicInteger implements io.reactivex.Observer<T>, io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8600231336733376951
final io.reactivex.Observer<? super R> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TR;>;
final boolean delayErrors;
descriptor: Z
flags: (0x0010) ACC_FINAL
final io.reactivex.disposables.CompositeDisposable set;
descriptor: Lio/reactivex/disposables/CompositeDisposable;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicInteger active;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
final io.reactivex.internal.util.AtomicThrowable errors;
descriptor: Lio/reactivex/internal/util/AtomicThrowable;
flags: (0x0010) ACC_FINAL
final io.reactivex.functions.Function<? super T, ? extends io.reactivex.SingleSource<? extends R>> mapper;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TT;+Lio/reactivex/SingleSource<+TR;>;>;
final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.queue.SpscLinkedArrayQueue<R>> queue;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;>;
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
void <init>(io.reactivex.Observer<? super R>, io.reactivex.functions.Function<? super T, ? extends io.reactivex.SingleSource<? extends R>>, );
descriptor: (Lio/reactivex/Observer;Lio/reactivex/functions/Function;Z)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.downstream:Lio/reactivex/Observer;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.mapper:Lio/reactivex/functions/Function;
3: aload 0
iload 3
putfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.delayErrors:Z
4: aload 0
new io.reactivex.disposables.CompositeDisposable
dup
invokespecial io.reactivex.disposables.CompositeDisposable.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
5: aload 0
new io.reactivex.internal.util.AtomicThrowable
dup
invokespecial io.reactivex.internal.util.AtomicThrowable.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
6: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.active:Ljava/util/concurrent/atomic/AtomicInteger;
7: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.queue:Ljava/util/concurrent/atomic/AtomicReference;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
0 9 1 actual Lio/reactivex/Observer<-TR;>;
0 9 2 mapper Lio/reactivex/functions/Function<-TT;+Lio/reactivex/SingleSource<+TR;>;>;
0 9 3 delayErrors Z
Signature: (Lio/reactivex/Observer<-TR;>;Lio/reactivex/functions/Function<-TT;+Lio/reactivex/SingleSource<+TR;>;>;Z)V
MethodParameters:
Name Flags
actual
mapper
delayErrors
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 3
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.downstream:Lio/reactivex/Observer;
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
0 4 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.mapper:Lio/reactivex/functions/Function;
aload 1
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.SingleSource
ldc "The mapper returned a null SingleSource"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.reactivex.SingleSource
astore 2
start local 2 1: goto 7
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
5: aload 0
aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.onError:(Ljava/lang/Throwable;)V
6: return
end local 3 start local 2 7: StackMap locals: io.reactivex.SingleSource
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
pop
8: new io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver$InnerObserver
dup
aload 0
invokespecial io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver$InnerObserver.<init>:(Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver;)V
astore 3
start local 3 9: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.cancelled:Z
ifne 11
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
aload 3
invokevirtual io.reactivex.disposables.CompositeDisposable.add:(Lio/reactivex/disposables/Disposable;)Z
ifeq 11
10: aload 2
aload 3
invokeinterface io.reactivex.SingleSource.subscribe:(Lio/reactivex/SingleObserver;)V
11: StackMap locals: io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver$InnerObserver
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
0 12 1 t TT;
1 2 2 ms Lio/reactivex/SingleSource<+TR;>;
7 12 2 ms Lio/reactivex/SingleSource<+TR;>;
3 7 3 ex Ljava/lang/Throwable;
9 12 3 inner Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>.InnerObserver;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
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 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
aload 1
invokevirtual io.reactivex.internal.util.AtomicThrowable.addThrowable:(Ljava/lang/Throwable;)Z
ifeq 6
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.delayErrors:Z
ifne 4
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.drain:()V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
0 8 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
1: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.drain:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.cancelled:Z
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.cancelled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
void innerSuccess(io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver<T, R>.InnerObserver, );
descriptor: (Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver$InnerObserver;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
aload 1
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
1: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.get:()I
ifne 16
aload 0
iconst_0
iconst_1
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.compareAndSet:(II)Z
ifeq 16
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.downstream:Lio/reactivex/Observer;
aload 2
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
ifne 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.queue:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.queue.SpscLinkedArrayQueue
astore 4
start local 4 7: iload 3
ifeq 14
aload 4
ifnull 8
aload 4
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.isEmpty:()Z
ifeq 14
8: StackMap locals: int io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 5
start local 5 9: aload 5
ifnull 12
10: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.downstream:Lio/reactivex/Observer;
aload 5
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
11: goto 13
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
13: StackMap locals:
StackMap stack:
return
end local 5 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.decrementAndGet:()I
ifne 26
15: return
end local 4 end local 3 16: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.getOrCreateQueue:()Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
astore 3
start local 3 17: aload 3
dup
astore 4
monitorenter
18: aload 3
aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.offer:(Ljava/lang/Object;)Z
pop
19: aload 4
monitorexit
20: goto 23
StackMap locals: io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver$InnerObserver java.lang.Object io.reactivex.internal.queue.SpscLinkedArrayQueue io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack: java.lang.Throwable
21: aload 4
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
24: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.getAndIncrement:()I
ifeq 26
25: return
end local 3 26: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.drainLoop:()V
27: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
0 28 1 inner Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>.InnerObserver;
0 28 2 value TR;
6 16 3 d Z
7 16 4 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
9 14 5 ex Ljava/lang/Throwable;
17 26 3 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
Exception table:
from to target type
18 20 21 any
21 22 21 any
Signature: (Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>.InnerObserver;TR;)V
MethodParameters:
Name Flags
inner
value
io.reactivex.internal.queue.SpscLinkedArrayQueue<R> getOrCreateQueue();
descriptor: ()Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.queue:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.queue.SpscLinkedArrayQueue
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
new io.reactivex.internal.queue.SpscLinkedArrayQueue
dup
invokestatic io.reactivex.Observable.bufferSize:()I
invokespecial io.reactivex.internal.queue.SpscLinkedArrayQueue.<init>:(I)V
astore 1
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.queue:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
1 6 1 current Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
Signature: ()Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
void innerError(io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver<T, R>.InnerObserver, java.lang.Throwable);
descriptor: (Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver$InnerObserver;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
aload 1
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
aload 2
invokevirtual io.reactivex.internal.util.AtomicThrowable.addThrowable:(Ljava/lang/Throwable;)Z
ifeq 8
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.delayErrors:Z
ifne 5
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.active:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
6: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.drain:()V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 2
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
0 10 1 inner Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>.InnerObserver;
0 10 2 e Ljava/lang/Throwable;
Signature: (Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>.InnerObserver;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
inner
e
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.getAndIncrement:()I
ifne 2
1: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.drainLoop:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
void clear();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.queue:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.queue.SpscLinkedArrayQueue
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
3: StackMap locals: io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
1 4 1 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
void drainLoop();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=10, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.downstream:Lio/reactivex/Observer;
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.active:Ljava/util/concurrent/atomic/AtomicInteger;
astore 3
start local 3 3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.queue:Ljava/util/concurrent/atomic/AtomicReference;
astore 4
start local 4 4: StackMap locals: io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver int io.reactivex.Observer java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicReference
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.cancelled:Z
ifeq 7
5: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.clear:()V
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.delayErrors:Z
ifne 14
8: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 5
start local 5 9: aload 5
ifnull 14
10: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 5
11: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.clear:()V
12: aload 2
aload 5
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
13: return
end local 5 14: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 15
iconst_1
goto 16
StackMap locals:
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 5
start local 5 17: aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.queue.SpscLinkedArrayQueue
astore 6
start local 6 18: aload 6
ifnull 19
aload 6
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.poll:()Ljava/lang/Object;
goto 20
StackMap locals: int io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
19: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
20: astore 7
start local 7 21: aload 7
ifnonnull 22
iconst_1
goto 23
StackMap locals: java.lang.Object
StackMap stack:
22: iconst_0
StackMap locals:
StackMap stack: int
23: istore 8
start local 8 24: iload 5
ifeq 31
iload 8
ifeq 31
25: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 9
start local 9 26: aload 9
ifnull 29
27: aload 2
aload 9
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
28: goto 30
29: StackMap locals: int java.lang.Throwable
StackMap stack:
aload 2
invokeinterface io.reactivex.Observer.onComplete:()V
30: StackMap locals:
StackMap stack:
return
end local 9 31: StackMap locals:
StackMap stack:
iload 8
ifeq 33
32: goto 35
33: StackMap locals:
StackMap stack:
aload 2
aload 7
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
end local 8 end local 7 end local 6 end local 5 34: goto 4
35: StackMap locals: io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver int io.reactivex.Observer java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicReference
StackMap stack:
aload 0
iload 1
ineg
invokevirtual io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver.addAndGet:(I)I
istore 1
36: iload 1
ifne 4
37: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lio/reactivex/internal/operators/observable/ObservableFlatMapSingle$FlatMapSingleObserver<TT;TR;>;
1 38 1 missed I
2 38 2 a Lio/reactivex/Observer<-TR;>;
3 38 3 n Ljava/util/concurrent/atomic/AtomicInteger;
4 38 4 qr Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;>;
9 14 5 ex Ljava/lang/Throwable;
17 34 5 d Z
18 34 6 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TR;>;
21 34 7 v TR;
24 34 8 empty Z
26 31 9 ex Ljava/lang/Throwable;
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableFlatMapSingle.java"
NestHost: io.reactivex.internal.operators.observable.ObservableFlatMapSingle
InnerClasses:
final FlatMapSingleObserver = io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver of io.reactivex.internal.operators.observable.ObservableFlatMapSingle
final InnerObserver = io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver$InnerObserver of io.reactivex.internal.operators.observable.ObservableFlatMapSingle$FlatMapSingleObserver