public final class io.vertx.junit5.VertxTestContext
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.junit5.VertxTestContext
super_class: java.lang.Object
{
private java.lang.Throwable throwableReference;
descriptor: Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
private final java.util.concurrent.CountDownLatch releaseLatch;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.HashSet<io.vertx.junit5.CountingCheckpoint> checkpoints;
descriptor: Ljava/util/HashSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashSet<Lio/vertx/junit5/CountingCheckpoint;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield io.vertx.junit5.VertxTestContext.throwableReference:Ljava/lang/Throwable;
2: aload 0
new java.util.concurrent.CountDownLatch
dup
iconst_1
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
putfield io.vertx.junit5.VertxTestContext.releaseLatch:Ljava/util/concurrent/CountDownLatch;
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield io.vertx.junit5.VertxTestContext.checkpoints:Ljava/util/HashSet;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/junit5/VertxTestContext;
public synchronized boolean failed();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.junit5.VertxTestContext.throwableReference:Ljava/lang/Throwable;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/junit5/VertxTestContext;
public synchronized java.lang.Throwable causeOfFailure();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.junit5.VertxTestContext.throwableReference:Ljava/lang/Throwable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/junit5/VertxTestContext;
public synchronized boolean completed();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.junit5.VertxTestContext.failed:()Z
ifne 1
aload 0
getfield io.vertx.junit5.VertxTestContext.releaseLatch:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
lconst_0
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/junit5/VertxTestContext;
public java.util.Set<java.lang.StackTraceElement> unsatisfiedCheckpointCallSites();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.junit5.VertxTestContext.checkpoints:Ljava/util/HashSet;
1: invokevirtual java.util.HashSet.stream:()Ljava/util/stream/Stream;
2: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
io/vertx/junit5/VertxTestContext.lambda$0(Lio/vertx/junit5/CountingCheckpoint;)Z (6)
(Lio/vertx/junit5/CountingCheckpoint;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/junit5/CountingCheckpoint.creationCallSite()Ljava/lang/StackTraceElement; (5)
(Lio/vertx/junit5/CountingCheckpoint;)Ljava/lang/StackTraceElement;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
5: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/junit5/VertxTestContext;
Signature: ()Ljava/util/Set<Ljava/lang/StackTraceElement;>;
public synchronized void completeNow();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.junit5.VertxTestContext.releaseLatch:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/junit5/VertxTestContext;
public synchronized void failNow(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "The exception cannot be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual io.vertx.junit5.VertxTestContext.completed:()Z
ifne 4
2: aload 0
aload 1
putfield io.vertx.junit5.VertxTestContext.throwableReference:Ljava/lang/Throwable;
3: aload 0
getfield io.vertx.junit5.VertxTestContext.releaseLatch:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/junit5/VertxTestContext;
0 5 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public synchronized void failNow(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new io.vertx.core.impl.NoStackTraceThrowable
dup
aload 1
invokespecial io.vertx.core.impl.NoStackTraceThrowable.<init>:(Ljava/lang/String;)V
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/junit5/VertxTestContext;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
private synchronized void checkpointSatisfied(io.vertx.junit5.Checkpoint);
descriptor: (Lio/vertx/junit5/Checkpoint;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.junit5.VertxTestContext.checkpoints:Ljava/util/HashSet;
aload 1
invokevirtual java.util.HashSet.remove:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield io.vertx.junit5.VertxTestContext.checkpoints:Ljava/util/HashSet;
invokevirtual java.util.HashSet.isEmpty:()Z
ifeq 3
2: aload 0
invokevirtual io.vertx.junit5.VertxTestContext.completeNow:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/junit5/VertxTestContext;
0 4 1 checkpoint Lio/vertx/junit5/Checkpoint;
MethodParameters:
Name Flags
checkpoint
public io.vertx.junit5.Checkpoint laxCheckpoint();
descriptor: ()Lio/vertx/junit5/Checkpoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual io.vertx.junit5.VertxTestContext.laxCheckpoint:(I)Lio/vertx/junit5/Checkpoint;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/junit5/VertxTestContext;
public synchronized io.vertx.junit5.Checkpoint laxCheckpoint(int);
descriptor: (I)Lio/vertx/junit5/Checkpoint;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokedynamic accept(Lio/vertx/junit5/VertxTestContext;)Ljava/util/function/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/junit5/VertxTestContext.checkpointSatisfied(Lio/vertx/junit5/Checkpoint;)V (7)
(Lio/vertx/junit5/Checkpoint;)V
iload 1
invokestatic io.vertx.junit5.CountingCheckpoint.laxCountingCheckpoint:(Ljava/util/function/Consumer;I)Lio/vertx/junit5/CountingCheckpoint;
astore 2
start local 2 1: aload 0
getfield io.vertx.junit5.VertxTestContext.checkpoints:Ljava/util/HashSet;
aload 2
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/junit5/VertxTestContext;
0 3 1 requiredNumberOfPasses I
1 3 2 checkpoint Lio/vertx/junit5/CountingCheckpoint;
MethodParameters:
Name Flags
requiredNumberOfPasses
public io.vertx.junit5.Checkpoint checkpoint();
descriptor: ()Lio/vertx/junit5/Checkpoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual io.vertx.junit5.VertxTestContext.checkpoint:(I)Lio/vertx/junit5/Checkpoint;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/junit5/VertxTestContext;
public synchronized io.vertx.junit5.Checkpoint checkpoint(int);
descriptor: (I)Lio/vertx/junit5/Checkpoint;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokedynamic accept(Lio/vertx/junit5/VertxTestContext;)Ljava/util/function/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/junit5/VertxTestContext.checkpointSatisfied(Lio/vertx/junit5/Checkpoint;)V (7)
(Lio/vertx/junit5/Checkpoint;)V
aload 0
invokedynamic accept(Lio/vertx/junit5/VertxTestContext;)Ljava/util/function/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/junit5/VertxTestContext.failNow(Ljava/lang/Throwable;)V (5)
(Ljava/lang/Throwable;)V
iload 1
invokestatic io.vertx.junit5.CountingCheckpoint.strictCountingCheckpoint:(Ljava/util/function/Consumer;Ljava/util/function/Consumer;I)Lio/vertx/junit5/CountingCheckpoint;
astore 2
start local 2 1: aload 0
getfield io.vertx.junit5.VertxTestContext.checkpoints:Ljava/util/HashSet;
aload 2
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/junit5/VertxTestContext;
0 3 1 requiredNumberOfPasses I
1 3 2 checkpoint Lio/vertx/junit5/CountingCheckpoint;
MethodParameters:
Name Flags
requiredNumberOfPasses
public <T> io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> succeeding();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic handle(Lio/vertx/junit5/VertxTestContext;)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/junit5/VertxTestContext.lambda$5(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/junit5/VertxTestContext;
Signature: <T:Ljava/lang/Object;>()Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public <T> io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> succeeding(io.vertx.core.Handler<T>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "The handler cannot be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokedynamic handle(Lio/vertx/junit5/VertxTestContext;Lio/vertx/core/Handler;)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/junit5/VertxTestContext.lambda$6(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/junit5/VertxTestContext;
0 2 1 nextHandler Lio/vertx/core/Handler<TT;>;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Handler<TT;>;)Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
MethodParameters:
Name Flags
nextHandler
public <T> io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> failing();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic handle(Lio/vertx/junit5/VertxTestContext;)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/junit5/VertxTestContext.lambda$7(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/junit5/VertxTestContext;
Signature: <T:Ljava/lang/Object;>()Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public <T> io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> failing(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "The handler cannot be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokedynamic handle(Lio/vertx/junit5/VertxTestContext;Lio/vertx/core/Handler;)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/junit5/VertxTestContext.lambda$8(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/junit5/VertxTestContext;
0 2 1 nextHandler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
MethodParameters:
Name Flags
nextHandler
public <T> io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> succeedingThenComplete();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic handle(Lio/vertx/junit5/VertxTestContext;)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/junit5/VertxTestContext.lambda$9(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/junit5/VertxTestContext;
Signature: <T:Ljava/lang/Object;>()Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
public <T> io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> completing();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.junit5.VertxTestContext.succeedingThenComplete:()Lio/vertx/core/Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/junit5/VertxTestContext;
Signature: <T:Ljava/lang/Object;>()Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public <T> io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> failingThenComplete();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic handle(Lio/vertx/junit5/VertxTestContext;)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/junit5/VertxTestContext.lambda$10(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/junit5/VertxTestContext;
Signature: <T:Ljava/lang/Object;>()Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
public <T> io.vertx.core.Future<T> assertComplete(io.vertx.core.Future<T>);
descriptor: (Lio/vertx/core/Future;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 1
aload 0
aload 2
invokedynamic handle(Lio/vertx/junit5/VertxTestContext;Lio/vertx/core/Promise;)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/junit5/VertxTestContext.lambda$11(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/junit5/VertxTestContext;
0 3 1 fut Lio/vertx/core/Future<TT;>;
1 3 2 newPromise Lio/vertx/core/Promise<TT;>;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Future<TT;>;)Lio/vertx/core/Future<TT;>;
MethodParameters:
Name Flags
fut
public <T> io.vertx.core.Future<T> assertFailure(io.vertx.core.Future<T>);
descriptor: (Lio/vertx/core/Future;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 1
aload 0
aload 2
invokedynamic handle(Lio/vertx/junit5/VertxTestContext;Lio/vertx/core/Promise;)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/junit5/VertxTestContext.lambda$12(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/junit5/VertxTestContext;
0 3 1 fut Lio/vertx/core/Future<TT;>;
1 3 2 newPromise Lio/vertx/core/Promise<TT;>;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Future<TT;>;)Lio/vertx/core/Future<TT;>;
MethodParameters:
Name Flags
fut
public io.vertx.junit5.VertxTestContext verify(io.vertx.junit5.VertxTestContext$ExecutionBlock);
descriptor: (Lio/vertx/junit5/VertxTestContext$ExecutionBlock;)Lio/vertx/junit5/VertxTestContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "The block cannot be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 1
invokeinterface io.vertx.junit5.VertxTestContext$ExecutionBlock.apply:()V
2: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 2
start local 2 4: aload 0
aload 2
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/junit5/VertxTestContext;
0 6 1 block Lio/vertx/junit5/VertxTestContext$ExecutionBlock;
4 5 2 t Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
MethodParameters:
Name Flags
block
public boolean awaitCompletion(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokevirtual io.vertx.junit5.VertxTestContext.failed:()Z
ifne 1
aload 0
getfield io.vertx.junit5.VertxTestContext.releaseLatch:Ljava/util/concurrent/CountDownLatch;
lload 1
aload 3
invokevirtual java.util.concurrent.CountDownLatch.await:(JLjava/util/concurrent/TimeUnit;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/junit5/VertxTestContext;
0 2 1 timeout J
0 2 3 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
timeout
unit
private static boolean lambda$0(io.vertx.junit5.CountingCheckpoint);
descriptor: (Lio/vertx/junit5/CountingCheckpoint;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.junit5.CountingCheckpoint.satisfied:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 checkpoint Lio/vertx/junit5/CountingCheckpoint;
private void lambda$5(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifne 2
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/junit5/VertxTestContext;
0 3 1 ar Lio/vertx/core/AsyncResult<TT;>;
private void lambda$6(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 3
start local 3 6: aload 0
aload 3
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/junit5/VertxTestContext;
0 8 2 ar Lio/vertx/core/AsyncResult<TT;>;
6 7 3 e Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 Class java.lang.Throwable
private void lambda$7(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 2
1: aload 0
new java.lang.AssertionError
dup
ldc "The asynchronous result was expected to have failed"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/junit5/VertxTestContext;
0 3 1 ar Lio/vertx/core/AsyncResult<TT;>;
private void lambda$8(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
new java.lang.AssertionError
dup
ldc "The asynchronous result was expected to have failed"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 3
start local 3 6: aload 0
aload 3
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/junit5/VertxTestContext;
0 8 2 ar Lio/vertx/core/AsyncResult<TT;>;
6 7 3 e Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 Class java.lang.Throwable
private void lambda$9(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokevirtual io.vertx.junit5.VertxTestContext.completeNow:()V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/junit5/VertxTestContext;
0 5 1 ar Lio/vertx/core/AsyncResult<TT;>;
private void lambda$10(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
new java.lang.AssertionError
dup
ldc "The asynchronous result was expected to have failed"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.junit5.VertxTestContext.completeNow:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/junit5/VertxTestContext;
0 5 1 ar Lio/vertx/core/AsyncResult<TT;>;
private void lambda$11(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
2: goto 6
3: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Future failed with exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
astore 3
start local 3 4: aload 0
aload 3
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
5: aload 1
aload 3
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/junit5/VertxTestContext;
0 7 2 ar Lio/vertx/core/AsyncResult<TT;>;
4 6 3 ex Ljava/lang/Throwable;
private void lambda$12(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Future completed with value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual io.vertx.junit5.VertxTestContext.failNow:(Ljava/lang/Throwable;)V
3: aload 1
aload 3
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
end local 3 4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/junit5/VertxTestContext;
0 7 2 ar Lio/vertx/core/AsyncResult<TT;>;
2 4 3 ex Ljava/lang/Throwable;
}
SourceFile: "VertxTestContext.java"
NestMembers:
io.vertx.junit5.VertxTestContext$ExecutionBlock
InnerClasses:
public abstract ExecutionBlock = io.vertx.junit5.VertxTestContext$ExecutionBlock of io.vertx.junit5.VertxTestContext
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles