public final class io.reactivex.internal.operators.completable.CompletableUsing<R> extends io.reactivex.Completable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.completable.CompletableUsing
super_class: io.reactivex.Completable
{
final java.util.concurrent.Callable<R> resourceSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TR;>;
final io.reactivex.functions.Function<? super R, ? extends io.reactivex.CompletableSource> completableFunction;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TR;+Lio/reactivex/CompletableSource;>;
final io.reactivex.functions.Consumer<? super R> disposer;
descriptor: Lio/reactivex/functions/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Consumer<-TR;>;
final boolean eager;
descriptor: Z
flags: (0x0010) ACC_FINAL
public void <init>(java.util.concurrent.Callable<R>, io.reactivex.functions.Function<? super R, ? extends io.reactivex.CompletableSource>, io.reactivex.functions.Consumer<? super R>, );
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.Completable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.completable.CompletableUsing.resourceSupplier:Ljava/util/concurrent/Callable;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.completable.CompletableUsing.completableFunction:Lio/reactivex/functions/Function;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.completable.CompletableUsing.disposer:Lio/reactivex/functions/Consumer;
4: aload 0
iload 4
putfield io.reactivex.internal.operators.completable.CompletableUsing.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/completable/CompletableUsing<TR;>;
0 6 1 resourceSupplier Ljava/util/concurrent/Callable<TR;>;
0 6 2 completableFunction Lio/reactivex/functions/Function<-TR;+Lio/reactivex/CompletableSource;>;
0 6 3 disposer Lio/reactivex/functions/Consumer<-TR;>;
0 6 4 eager Z
Signature: (Ljava/util/concurrent/Callable<TR;>;Lio/reactivex/functions/Function<-TR;+Lio/reactivex/CompletableSource;>;Lio/reactivex/functions/Consumer<-TR;>;Z)V
MethodParameters:
Name Flags
resourceSupplier
completableFunction
disposer
eager
protected void subscribeActual(io.reactivex.CompletableObserver);
descriptor: (Lio/reactivex/CompletableObserver;)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.completable.CompletableUsing.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/CompletableObserver;)V
5: return
end local 3 start local 2 6: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.completable.CompletableUsing.completableFunction:Lio/reactivex/functions/Function;
aload 2
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.CompletableSource
ldc "The completableFunction returned a null CompletableSource"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.reactivex.CompletableSource
astore 3
start local 3 7: goto 25
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.completable.CompletableUsing.eager:Z
ifeq 17
11: aload 0
getfield io.reactivex.internal.operators.completable.CompletableUsing.disposer:Lio/reactivex/functions/Consumer;
aload 2
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
12: goto 17
StackMap locals: io.reactivex.internal.operators.completable.CompletableUsing io.reactivex.CompletableObserver 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
aload 1
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/CompletableObserver;)V
16: return
end local 5 17: StackMap locals:
StackMap stack:
aload 4
aload 1
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/CompletableObserver;)V
18: aload 0
getfield io.reactivex.internal.operators.completable.CompletableUsing.eager:Z
ifne 24
19: aload 0
getfield io.reactivex.internal.operators.completable.CompletableUsing.disposer:Lio/reactivex/functions/Consumer;
aload 2
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
20: goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 5
start local 5 22: aload 5
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
23: aload 5
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 5 24: StackMap locals:
StackMap stack:
return
end local 4 start local 3 25: StackMap locals: io.reactivex.internal.operators.completable.CompletableUsing io.reactivex.CompletableObserver java.lang.Object io.reactivex.CompletableSource
StackMap stack:
aload 3
new io.reactivex.internal.operators.completable.CompletableUsing$UsingObserver
dup
aload 1
aload 2
aload 0
getfield io.reactivex.internal.operators.completable.CompletableUsing.disposer:Lio/reactivex/functions/Consumer;
aload 0
getfield io.reactivex.internal.operators.completable.CompletableUsing.eager:Z
invokespecial io.reactivex.internal.operators.completable.CompletableUsing$UsingObserver.<init>:(Lio/reactivex/CompletableObserver;Ljava/lang/Object;Lio/reactivex/functions/Consumer;Z)V
invokeinterface io.reactivex.CompletableSource.subscribe:(Lio/reactivex/CompletableObserver;)V
26: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lio/reactivex/internal/operators/completable/CompletableUsing<TR;>;
0 27 1 observer Lio/reactivex/CompletableObserver;
1 2 2 resource TR;
6 27 2 resource TR;
3 6 3 ex Ljava/lang/Throwable;
7 8 3 source Lio/reactivex/CompletableSource;
25 27 3 source Lio/reactivex/CompletableSource;
9 25 4 ex Ljava/lang/Throwable;
14 17 5 exc Ljava/lang/Throwable;
22 24 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
19 20 21 Class java.lang.Throwable
MethodParameters:
Name Flags
observer
}
Signature: <R:Ljava/lang/Object;>Lio/reactivex/Completable;
SourceFile: "CompletableUsing.java"
NestMembers:
io.reactivex.internal.operators.completable.CompletableUsing$UsingObserver
InnerClasses:
final UsingObserver = io.reactivex.internal.operators.completable.CompletableUsing$UsingObserver of io.reactivex.internal.operators.completable.CompletableUsing