final class io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable<T, S> implements io.reactivex.Emitter<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.ObservableGenerate$GeneratorDisposable
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<S, ? super io.reactivex.Emitter<T>, S> generator;
descriptor: Lio/reactivex/functions/BiFunction;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/BiFunction<TS;-Lio/reactivex/Emitter<TT;>;TS;>;
final io.reactivex.functions.Consumer<? super S> disposeState;
descriptor: Lio/reactivex/functions/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Consumer<-TS;>;
S state;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TS;
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
boolean terminate;
descriptor: Z
flags: (0x0000)
boolean hasNext;
descriptor: Z
flags: (0x0000)
void <init>(io.reactivex.Observer<? super T>, io.reactivex.functions.BiFunction<S, ? super io.reactivex.Emitter<T>, S>, io.reactivex.functions.Consumer<? super S>, );
descriptor: (Lio/reactivex/Observer;Lio/reactivex/functions/BiFunction;Lio/reactivex/functions/Consumer;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.downstream:Lio/reactivex/Observer;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.generator:Lio/reactivex/functions/BiFunction;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.disposeState:Lio/reactivex/functions/Consumer;
4: aload 0
aload 4
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.state:Ljava/lang/Object;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableGenerate$GeneratorDisposable<TT;TS;>;
0 6 1 actual Lio/reactivex/Observer<-TT;>;
0 6 2 generator Lio/reactivex/functions/BiFunction<TS;-Lio/reactivex/Emitter<TT;>;TS;>;
0 6 3 disposeState Lio/reactivex/functions/Consumer<-TS;>;
0 6 4 initialState TS;
Signature: (Lio/reactivex/Observer<-TT;>;Lio/reactivex/functions/BiFunction<TS;-Lio/reactivex/Emitter<TT;>;TS;>;Lio/reactivex/functions/Consumer<-TS;>;TS;)V
MethodParameters:
Name Flags
actual
generator
disposeState
initialState
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.state:Ljava/lang/Object;
astore 1
start local 1 1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.cancelled:Z
ifeq 5
2: aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.state:Ljava/lang/Object;
3: aload 0
aload 1
invokevirtual io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.dispose:(Ljava/lang/Object;)V
4: return
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.generator:Lio/reactivex/functions/BiFunction;
astore 2
start local 2 6: StackMap locals: io.reactivex.functions.BiFunction
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.cancelled:Z
ifeq 10
7: aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.state:Ljava/lang/Object;
8: aload 0
aload 1
invokevirtual io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.dispose:(Ljava/lang/Object;)V
9: return
10: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.hasNext:Z
11: aload 2
aload 1
aload 0
invokeinterface io.reactivex.functions.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 1
12: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 3
start local 3 14: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
15: aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.state:Ljava/lang/Object;
16: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.cancelled:Z
17: aload 0
aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.onError:(Ljava/lang/Throwable;)V
18: aload 0
aload 1
invokevirtual io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.dispose:(Ljava/lang/Object;)V
19: return
end local 3 20: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.terminate:Z
ifeq 6
21: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.cancelled:Z
22: aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.state:Ljava/lang/Object;
23: aload 0
aload 1
invokevirtual io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.dispose:(Ljava/lang/Object;)V
24: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/reactivex/internal/operators/observable/ObservableGenerate$GeneratorDisposable<TT;TS;>;
1 25 1 s TS;
6 25 2 f Lio/reactivex/functions/BiFunction<TS;-Lio/reactivex/Emitter<TT;>;TS;>;
14 20 3 ex Ljava/lang/Throwable;
Exception table:
from to target type
11 12 13 Class java.lang.Throwable
private void dispose();
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.disposeState:Lio/reactivex/functions/Consumer;
aload 1
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
start local 2 3: aload 2
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
4: aload 2
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableGenerate$GeneratorDisposable<TT;TS;>;
0 6 1 s TS;
3 5 2 ex Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Signature: (TS;)V
MethodParameters:
Name Flags
s
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.ObservableGenerate$GeneratorDisposable.cancelled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableGenerate$GeneratorDisposable<TT;TS;>;
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.ObservableGenerate$GeneratorDisposable.cancelled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableGenerate$GeneratorDisposable<TT;TS;>;
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.terminate:Z
ifne 9
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.hasNext:Z
ifeq 4
2: aload 0
new java.lang.IllegalStateException
dup
ldc "onNext already called in this generate turn"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.onError:(Ljava/lang/Throwable;)V
3: goto 9
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 7
5: aload 0
new java.lang.NullPointerException
dup
ldc "onNext called with null. Null values are generally not allowed in 2.x operators and sources."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.onError:(Ljava/lang/Throwable;)V
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.hasNext:Z
8: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)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/internal/operators/observable/ObservableGenerate$GeneratorDisposable<TT;TS;>;
0 10 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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.terminate:Z
ifeq 3
1: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: goto 7
3: StackMap locals:
StackMap stack:
aload 1
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "onError called with null. Null values are generally not allowed in 2.x operators and sources."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
astore 1
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.terminate:Z
6: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.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/ObservableGenerate$GeneratorDisposable<TT;TS;>;
0 8 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.ObservableGenerate$GeneratorDisposable.terminate:Z
ifne 3
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.terminate:Z
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableGenerate$GeneratorDisposable<TT;TS;>;
}
Signature: <T:Ljava/lang/Object;S:Ljava/lang/Object;>Ljava/lang/Object;Lio/reactivex/Emitter<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableGenerate.java"
NestHost: io.reactivex.internal.operators.observable.ObservableGenerate
InnerClasses:
final GeneratorDisposable = io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable of io.reactivex.internal.operators.observable.ObservableGenerate