public final class io.reactivex.internal.operators.observable.ObservableUsing<T, D> extends io.reactivex.Observable<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableUsing
super_class: io.reactivex.Observable
{
final java.util.concurrent.Callable<? extends D> resourceSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<+TD;>;
final io.reactivex.functions.Function<? super D, ? extends io.reactivex.ObservableSource<? extends T>> sourceSupplier;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TD;+Lio/reactivex/ObservableSource<+TT;>;>;
final io.reactivex.functions.Consumer<? super D> disposer;
descriptor: Lio/reactivex/functions/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Consumer<-TD;>;
final boolean eager;
descriptor: Z
flags: (0x0010) ACC_FINAL
public void <init>(java.util.concurrent.Callable<? extends D>, io.reactivex.functions.Function<? super D, ? extends io.reactivex.ObservableSource<? extends T>>, io.reactivex.functions.Consumer<? super D>, );
descriptor: (Ljava/util/concurrent/Callable;Lio/reactivex/functions/Function;Lio/reactivex/functions/Consumer;Z)V
flags: (0x0001) ACC_PUBLIC
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 io.reactivex.Observable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableUsing.resourceSupplier:Ljava/util/concurrent/Callable;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableUsing.sourceSupplier:Lio/reactivex/functions/Function;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableUsing.disposer:Lio/reactivex/functions/Consumer;
4: aload 0
iload 4
putfield io.reactivex.internal.operators.observable.ObservableUsing.eager:Z
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/ObservableUsing<TT;TD;>;
0 6 1 resourceSupplier Ljava/util/concurrent/Callable<+TD;>;
0 6 2 sourceSupplier Lio/reactivex/functions/Function<-TD;+Lio/reactivex/ObservableSource<+TT;>;>;
0 6 3 disposer Lio/reactivex/functions/Consumer<-TD;>;
0 6 4 eager Z
Signature: (Ljava/util/concurrent/Callable<+TD;>;Lio/reactivex/functions/Function<-TD;+Lio/reactivex/ObservableSource<+TT;>;>;Lio/reactivex/functions/Consumer<-TD;>;Z)V
MethodParameters:
Name Flags
resourceSupplier
sourceSupplier
disposer
eager
public void subscribeActual(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing.resourceSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
astore 2
start local 2 1: goto 6
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 3
aload 1
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/Observer;)V
5: return
end local 3 start local 2 6: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing.sourceSupplier:Lio/reactivex/functions/Function;
aload 2
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.ObservableSource
ldc "The sourceSupplier returned a null ObservableSource"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.reactivex.ObservableSource
astore 3
start local 3 7: goto 18
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 4
start local 4 9: aload 4
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
10: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing.disposer:Lio/reactivex/functions/Consumer;
aload 2
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
11: goto 16
StackMap locals: io.reactivex.internal.operators.observable.ObservableUsing io.reactivex.Observer java.lang.Object top java.lang.Throwable
StackMap stack: java.lang.Throwable
12: astore 5
start local 5 13: aload 5
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
14: new io.reactivex.exceptions.CompositeException
dup
iconst_2
anewarray java.lang.Throwable
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 5
aastore
invokespecial io.reactivex.exceptions.CompositeException.<init>:([Ljava/lang/Throwable;)V
aload 1
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/Observer;)V
15: return
end local 5 16: StackMap locals:
StackMap stack:
aload 4
aload 1
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/Observer;)V
17: return
end local 4 start local 3 18: StackMap locals: io.reactivex.internal.operators.observable.ObservableUsing io.reactivex.Observer java.lang.Object io.reactivex.ObservableSource
StackMap stack:
new io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver
dup
aload 1
aload 2
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing.disposer:Lio/reactivex/functions/Consumer;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing.eager:Z
invokespecial io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.<init>:(Lio/reactivex/Observer;Ljava/lang/Object;Lio/reactivex/functions/Consumer;Z)V
astore 4
start local 4 19: aload 3
aload 4
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
20: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/reactivex/internal/operators/observable/ObservableUsing<TT;TD;>;
0 21 1 observer Lio/reactivex/Observer<-TT;>;
1 2 2 resource TD;
6 21 2 resource TD;
3 6 3 e Ljava/lang/Throwable;
7 8 3 source Lio/reactivex/ObservableSource<+TT;>;
18 21 3 source Lio/reactivex/ObservableSource<+TT;>;
9 18 4 e Ljava/lang/Throwable;
13 16 5 ex Ljava/lang/Throwable;
19 21 4 us Lio/reactivex/internal/operators/observable/ObservableUsing$UsingObserver<TT;TD;>;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
6 7 8 Class java.lang.Throwable
10 11 12 Class java.lang.Throwable
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
observer
}
Signature: <T:Ljava/lang/Object;D:Ljava/lang/Object;>Lio/reactivex/Observable<TT;>;
SourceFile: "ObservableUsing.java"
NestMembers:
io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver
InnerClasses:
final UsingObserver = io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver of io.reactivex.internal.operators.observable.ObservableUsing