final class io.reactivex.internal.operators.observable.ObservableScan$ScanObserver<T> 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.ObservableScan$ScanObserver
super_class: java.lang.Object
{
final io.reactivex.Observer<? super T> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TT;>;
final io.reactivex.functions.BiFunction<T, T, T> accumulator;
descriptor: Lio/reactivex/functions/BiFunction;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/BiFunction<TT;TT;TT;>;
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
T value;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TT;
boolean done;
descriptor: Z
flags: (0x0000)
void <init>(io.reactivex.Observer<? super T>, io.reactivex.functions.BiFunction<T, T, T>);
descriptor: (Lio/reactivex/Observer;Lio/reactivex/functions/BiFunction;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.downstream:Lio/reactivex/Observer;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.accumulator:Lio/reactivex/functions/BiFunction;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableScan$ScanObserver<TT;>;
0 4 1 actual Lio/reactivex/Observer<-TT;>;
0 4 2 accumulator Lio/reactivex/functions/BiFunction<TT;TT;TT;>;
Signature: (Lio/reactivex/Observer<-TT;>;Lio/reactivex/functions/BiFunction<TT;TT;TT;>;)V
MethodParameters:
Name Flags
actual
accumulator
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.ObservableScan$ScanObserver.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.ObservableScan$ScanObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.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/ObservableScan$ScanObserver<TT;>;
0 4 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void dispose();
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.ObservableScan$ScanObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableScan$ScanObserver<TT;>;
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.ObservableScan$ScanObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.isDisposed:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableScan$ScanObserver<TT;>;
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.downstream:Lio/reactivex/Observer;
astore 2
start local 2 3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.value:Ljava/lang/Object;
astore 3
start local 3 4: aload 3
ifnonnull 8
5: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.value:Ljava/lang/Object;
6: aload 2
aload 1
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
7: goto 17
8: StackMap locals: io.reactivex.Observer java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.accumulator:Lio/reactivex/functions/BiFunction;
aload 3
aload 1
invokeinterface io.reactivex.functions.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ldc "The value returned by the accumulator is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 9: goto 15
end local 4 StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 5
start local 5 11: aload 5
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
12: aload 0
getfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
13: aload 0
aload 5
invokevirtual io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.onError:(Ljava/lang/Throwable;)V
14: return
end local 5 start local 4 15: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 4
putfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.value:Ljava/lang/Object;
16: aload 2
aload 4
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
end local 4 17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/operators/observable/ObservableScan$ScanObserver<TT;>;
0 18 1 t TT;
3 18 2 a Lio/reactivex/Observer<-TT;>;
4 18 3 v TT;
9 10 4 u TT;
15 17 4 u TT;
11 15 5 e Ljava/lang/Throwable;
Exception table:
from to target type
8 9 10 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.ObservableScan$ScanObserver.done:Z
ifeq 3
1: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.done:Z
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableScan$ScanObserver<TT;>;
0 6 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.internal.operators.observable.ObservableScan$ScanObserver.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.done:Z
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableScan$ScanObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/observable/ObservableScan$ScanObserver<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableScan.java"
NestHost: io.reactivex.internal.operators.observable.ObservableScan
InnerClasses:
final ScanObserver = io.reactivex.internal.operators.observable.ObservableScan$ScanObserver of io.reactivex.internal.operators.observable.ObservableScan