public class io.vertx.reactivex.impl.AsyncResultCompletable extends io.reactivex.Completable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.reactivex.impl.AsyncResultCompletable
super_class: io.reactivex.Completable
{
private final java.util.function.Consumer<io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>> subscriptionConsumer;
descriptor: Ljava/util/function/Consumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Consumer<Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;>;
public static io.reactivex.Completable toCompletable(java.util.function.Consumer<io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>>);
descriptor: (Ljava/util/function/Consumer;)Lio/reactivex/Completable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.vertx.reactivex.impl.AsyncResultCompletable
dup
aload 0
invokespecial io.vertx.reactivex.impl.AsyncResultCompletable.<init>:(Ljava/util/function/Consumer;)V
invokestatic io.reactivex.plugins.RxJavaPlugins.onAssembly:(Lio/reactivex/Completable;)Lio/reactivex/Completable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 subscriptionConsumer Ljava/util/function/Consumer<Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;>;
Signature: (Ljava/util/function/Consumer<Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;>;)Lio/reactivex/Completable;
MethodParameters:
Name Flags
subscriptionConsumer
public void <init>(java.util.function.Consumer<io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.reactivex.Completable.<init>:()V
1: aload 0
aload 1
putfield io.vertx.reactivex.impl.AsyncResultCompletable.subscriptionConsumer:Ljava/util/function/Consumer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/reactivex/impl/AsyncResultCompletable;
0 3 1 subscriptionConsumer Ljava/util/function/Consumer<Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;>;
Signature: (Ljava/util/function/Consumer<Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;>;)V
MethodParameters:
Name Flags
subscriptionConsumer
protected void subscribeActual(io.reactivex.CompletableObserver);
descriptor: (Lio/reactivex/CompletableObserver;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
astore 2
start local 2 1: aload 1
new io.vertx.reactivex.impl.AsyncResultCompletable$1
dup
aload 0
aload 2
invokespecial io.vertx.reactivex.impl.AsyncResultCompletable$1.<init>:(Lio/vertx/reactivex/impl/AsyncResultCompletable;Ljava/util/concurrent/atomic/AtomicBoolean;)V
invokeinterface io.reactivex.CompletableObserver.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
2: aload 2
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 12
3: aload 0
getfield io.vertx.reactivex.impl.AsyncResultCompletable.subscriptionConsumer:Ljava/util/function/Consumer;
aload 2
aload 1
invokedynamic handle(Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/CompletableObserver;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/reactivex/impl/AsyncResultCompletable.lambda$0(Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/CompletableObserver;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
4: goto 12
StackMap locals: io.vertx.reactivex.impl.AsyncResultCompletable io.reactivex.CompletableObserver java.util.concurrent.atomic.AtomicBoolean
StackMap stack: java.lang.Exception
5: astore 3
start local 3 6: aload 2
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.getAndSet:(Z)Z
ifne 12
7: aload 1
aload 3
invokeinterface io.reactivex.CompletableObserver.onError:(Ljava/lang/Throwable;)V
8: goto 12
StackMap locals: io.vertx.reactivex.impl.AsyncResultCompletable io.reactivex.CompletableObserver java.util.concurrent.atomic.AtomicBoolean java.lang.Exception
StackMap stack: java.lang.Throwable
9: astore 4
start local 4 10: aload 4
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
11: aload 4
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/reactivex/impl/AsyncResultCompletable;
0 13 1 observer Lio/reactivex/CompletableObserver;
1 13 2 disposed Ljava/util/concurrent/atomic/AtomicBoolean;
6 12 3 e Ljava/lang/Exception;
10 12 4 t Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
7 8 9 Class java.lang.Throwable
MethodParameters:
Name Flags
observer
private static void lambda$0(java.util.concurrent.atomic.AtomicBoolean, io.reactivex.CompletableObserver, io.vertx.core.AsyncResult);
descriptor: (Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/CompletableObserver;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=3
start local 2 0: aload 0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.getAndSet:(Z)Z
ifne 13
1: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 8
2: aload 1
invokeinterface io.reactivex.CompletableObserver.onComplete:()V
3: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 3
start local 3 5: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
6: aload 3
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 3 7: goto 13
8: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.reactivex.CompletableObserver.onError:(Ljava/lang/Throwable;)V
9: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
start local 3 11: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
12: aload 3
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 14 2 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
5 7 3 t Ljava/lang/Throwable;
11 13 3 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
8 9 10 Class java.lang.Throwable
}
SourceFile: "AsyncResultCompletable.java"
NestMembers:
io.vertx.reactivex.impl.AsyncResultCompletable$1
InnerClasses:
io.vertx.reactivex.impl.AsyncResultCompletable$1
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles