public class io.vertx.reactivex.impl.AsyncResultSingle<T> extends io.reactivex.Single<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.reactivex.impl.AsyncResultSingle
super_class: io.reactivex.Single
{
private final java.util.function.Consumer<io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>> 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<TT;>;>;>;
public static <T> io.reactivex.Single<T> toSingle(java.util.function.Consumer<io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>>);
descriptor: (Ljava/util/function/Consumer;)Lio/reactivex/Single;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.vertx.reactivex.impl.AsyncResultSingle
dup
aload 0
invokespecial io.vertx.reactivex.impl.AsyncResultSingle.<init>:(Ljava/util/function/Consumer;)V
invokestatic io.reactivex.plugins.RxJavaPlugins.onAssembly:(Lio/reactivex/Single;)Lio/reactivex/Single;
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<TT;>;>;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/function/Consumer<Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;>;)Lio/reactivex/Single<TT;>;
MethodParameters:
Name Flags
subscriptionConsumer
public void <init>(java.util.function.Consumer<io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>>);
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.Single.<init>:()V
1: aload 0
aload 1
putfield io.vertx.reactivex.impl.AsyncResultSingle.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/AsyncResultSingle<TT;>;
0 3 1 subscriptionConsumer Ljava/util/function/Consumer<Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;>;
Signature: (Ljava/util/function/Consumer<Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;>;)V
MethodParameters:
Name Flags
subscriptionConsumer
protected void subscribeActual(io.reactivex.SingleObserver<? super T>);
descriptor: (Lio/reactivex/SingleObserver;)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.AsyncResultSingle$1
dup
aload 0
aload 2
invokespecial io.vertx.reactivex.impl.AsyncResultSingle$1.<init>:(Lio/vertx/reactivex/impl/AsyncResultSingle;Ljava/util/concurrent/atomic/AtomicBoolean;)V
invokeinterface io.reactivex.SingleObserver.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.AsyncResultSingle.subscriptionConsumer:Ljava/util/function/Consumer;
aload 2
aload 1
invokedynamic handle(Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/SingleObserver;)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/AsyncResultSingle.lambda$0(Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/SingleObserver;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.AsyncResultSingle io.reactivex.SingleObserver 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.SingleObserver.onError:(Ljava/lang/Throwable;)V
8: goto 12
StackMap locals: io.vertx.reactivex.impl.AsyncResultSingle io.reactivex.SingleObserver 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/AsyncResultSingle<TT;>;
0 13 1 observer Lio/reactivex/SingleObserver<-TT;>;
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
Signature: (Lio/reactivex/SingleObserver<-TT;>;)V
RuntimeInvisibleParameterAnnotations:
0:
io.reactivex.annotations.NonNull()
MethodParameters:
Name Flags
observer
private static void lambda$0(java.util.concurrent.atomic.AtomicBoolean, io.reactivex.SingleObserver, io.vertx.core.AsyncResult);
descriptor: (Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/SingleObserver;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 14
1: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 8
2: aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
invokeinterface io.reactivex.SingleObserver.onSuccess:(Ljava/lang/Object;)V
3: goto 14
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 14
StackMap locals:
StackMap stack:
8: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 14
9: aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.reactivex.SingleObserver.onError:(Ljava/lang/Throwable;)V
10: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
start local 3 12: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
13: aload 3
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 3 14: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 15 2 ar Lio/vertx/core/AsyncResult<TT;>;
5 7 3 t Ljava/lang/Throwable;
12 14 3 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
9 10 11 Class java.lang.Throwable
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/Single<TT;>;
SourceFile: "AsyncResultSingle.java"
NestMembers:
io.vertx.reactivex.impl.AsyncResultSingle$1
InnerClasses:
io.vertx.reactivex.impl.AsyncResultSingle$1
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles