public final class io.reactivex.internal.operators.single.SingleUsing<T, U> extends io.reactivex.Single<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.single.SingleUsing
super_class: io.reactivex.Single
{
final java.util.concurrent.Callable<U> resourceSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TU;>;
final io.reactivex.functions.Function<? super U, ? extends io.reactivex.SingleSource<? extends T>> singleFunction;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TU;+Lio/reactivex/SingleSource<+TT;>;>;
final io.reactivex.functions.Consumer<? super U> disposer;
descriptor: Lio/reactivex/functions/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Consumer<-TU;>;
final boolean eager;
descriptor: Z
flags: (0x0010) ACC_FINAL
public void <init>(java.util.concurrent.Callable<U>, io.reactivex.functions.Function<? super U, ? extends io.reactivex.SingleSource<? extends T>>, io.reactivex.functions.Consumer<? super U>, );
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.Single.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.single.SingleUsing.resourceSupplier:Ljava/util/concurrent/Callable;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.single.SingleUsing.singleFunction:Lio/reactivex/functions/Function;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.single.SingleUsing.disposer:Lio/reactivex/functions/Consumer;
4: aload 0
iload 4
putfield io.reactivex.internal.operators.single.SingleUsing.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/single/SingleUsing<TT;TU;>;
0 6 1 resourceSupplier Ljava/util/concurrent/Callable<TU;>;
0 6 2 singleFunction Lio/reactivex/functions/Function<-TU;+Lio/reactivex/SingleSource<+TT;>;>;
0 6 3 disposer Lio/reactivex/functions/Consumer<-TU;>;
0 6 4 eager Z
Signature: (Ljava/util/concurrent/Callable<TU;>;Lio/reactivex/functions/Function<-TU;+Lio/reactivex/SingleSource<+TT;>;>;Lio/reactivex/functions/Consumer<-TU;>;Z)V
MethodParameters:
Name Flags
resourceSupplier
singleFunction
disposer
eager
protected void subscribeActual(io.reactivex.SingleObserver<? super T>);
descriptor: (Lio/reactivex/SingleObserver;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.single.SingleUsing.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/SingleObserver;)V
5: return
end local 3 start local 2 6: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.single.SingleUsing.singleFunction:Lio/reactivex/functions/Function;
aload 2
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.SingleSource
ldc "The singleFunction 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 3
start local 3 7: goto 24
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.single.SingleUsing.eager:Z
ifeq 16
11: aload 0
getfield io.reactivex.internal.operators.single.SingleUsing.disposer:Lio/reactivex/functions/Consumer;
aload 2
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
12: goto 16
StackMap locals: io.reactivex.internal.operators.single.SingleUsing io.reactivex.SingleObserver java.lang.Object top java.lang.Throwable
StackMap stack: java.lang.Throwable
13: astore 5
start local 5 14: aload 5
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
15: 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
astore 4
end local 5 16: StackMap locals:
StackMap stack:
aload 4
aload 1
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/SingleObserver;)V
17: aload 0
getfield io.reactivex.internal.operators.single.SingleUsing.eager:Z
ifne 23
18: aload 0
getfield io.reactivex.internal.operators.single.SingleUsing.disposer:Lio/reactivex/functions/Consumer;
aload 2
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
19: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 5
start local 5 21: aload 5
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
22: aload 5
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 5 23: StackMap locals:
StackMap stack:
return
end local 4 start local 3 24: StackMap locals: io.reactivex.internal.operators.single.SingleUsing io.reactivex.SingleObserver java.lang.Object io.reactivex.SingleSource
StackMap stack:
aload 3
new io.reactivex.internal.operators.single.SingleUsing$UsingSingleObserver
dup
aload 1
aload 2
aload 0
getfield io.reactivex.internal.operators.single.SingleUsing.eager:Z
aload 0
getfield io.reactivex.internal.operators.single.SingleUsing.disposer:Lio/reactivex/functions/Consumer;
invokespecial io.reactivex.internal.operators.single.SingleUsing$UsingSingleObserver.<init>:(Lio/reactivex/SingleObserver;Ljava/lang/Object;ZLio/reactivex/functions/Consumer;)V
invokeinterface io.reactivex.SingleSource.subscribe:(Lio/reactivex/SingleObserver;)V
25: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lio/reactivex/internal/operators/single/SingleUsing<TT;TU;>;
0 26 1 observer Lio/reactivex/SingleObserver<-TT;>;
1 2 2 resource TU;
6 26 2 resource TU;
3 6 3 ex Ljava/lang/Throwable;
7 8 3 source Lio/reactivex/SingleSource<+TT;>;
24 26 3 source Lio/reactivex/SingleSource<+TT;>;
9 24 4 ex Ljava/lang/Throwable;
14 16 5 exc Ljava/lang/Throwable;
21 23 5 exc Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
6 7 8 Class java.lang.Throwable
11 12 13 Class java.lang.Throwable
18 19 20 Class java.lang.Throwable
Signature: (Lio/reactivex/SingleObserver<-TT;>;)V
MethodParameters:
Name Flags
observer final
}
Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;>Lio/reactivex/Single<TT;>;
SourceFile: "SingleUsing.java"
NestMembers:
io.reactivex.internal.operators.single.SingleUsing$UsingSingleObserver
InnerClasses:
final UsingSingleObserver = io.reactivex.internal.operators.single.SingleUsing$UsingSingleObserver of io.reactivex.internal.operators.single.SingleUsing