public class io.vertx.reactivex.CompletableHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.reactivex.CompletableHelper
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/reactivex/CompletableHelper;
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=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.vertx.reactivex.impl.AsyncResultCompletable.toCompletable:(Ljava/util/function/Consumer;)Lio/reactivex/Completable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 handler 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
handler
public static <T> io.reactivex.CompletableObserver toObserver(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>);
descriptor: (Lio/vertx/core/Handler;)Lio/reactivex/CompletableObserver;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
astore 1
start local 1 1: new io.vertx.reactivex.CompletableHelper$1
dup
aload 1
aload 0
invokespecial io.vertx.reactivex.CompletableHelper$1.<init>:(Ljava/util/concurrent/atomic/AtomicBoolean;Lio/vertx/core/Handler;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
1 2 1 completed Ljava/util/concurrent/atomic/AtomicBoolean;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;)Lio/reactivex/CompletableObserver;
MethodParameters:
Name Flags
handler
public static <T> io.vertx.core.Future<java.lang.Void> toFuture(io.reactivex.Completable);
descriptor: (Lio/reactivex/Completable;)Lio/vertx/core/Future;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 1
start local 1 1: aload 0
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Lio/vertx/core/Promise;)Lio/reactivex/functions/Action;
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:
()V
io/vertx/core/Promise.complete()V (9 itf)
()V
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lio/vertx/core/Promise;)Lio/reactivex/functions/Consumer;
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/core/Promise.fail(Ljava/lang/Throwable;)V (9 itf)
(Ljava/lang/Throwable;)V
invokevirtual io.reactivex.Completable.subscribe:(Lio/reactivex/functions/Action;Lio/reactivex/functions/Consumer;)Lio/reactivex/disposables/Disposable;
pop
2: aload 1
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 maybe Lio/reactivex/Completable;
1 3 1 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: <T:Ljava/lang/Object;>(Lio/reactivex/Completable;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
maybe
}
SourceFile: "CompletableHelper.java"
NestMembers:
io.vertx.reactivex.CompletableHelper$1
InnerClasses:
io.vertx.reactivex.CompletableHelper$1
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles