public class io.vertx.ext.unit.impl.TestCompletionImpl extends io.vertx.ext.unit.impl.CompletionImpl<java.lang.Void> implements io.vertx.ext.unit.TestCompletion, io.vertx.core.Handler<io.vertx.ext.unit.report.TestSuiteReport>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.unit.impl.TestCompletionImpl
super_class: io.vertx.ext.unit.impl.CompletionImpl
{
private final java.util.concurrent.atomic.AtomicReference<io.vertx.ext.unit.report.TestSuiteReport> report;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/vertx/ext/unit/report/TestSuiteReport;>;
private final java.util.List<io.vertx.ext.unit.report.Reporter> reporters;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/ext/unit/report/Reporter;>;
private final java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> failure;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;
public void <init>(io.vertx.ext.unit.report.Reporter[]);
descriptor: ([Lio/vertx/ext/unit/report/Reporter;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.vertx.ext.unit.impl.CompletionImpl.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.vertx.ext.unit.impl.TestCompletionImpl.report:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokestatic java.util.Collections.synchronizedList:(Ljava/util/List;)Ljava/util/List;
putfield io.vertx.ext.unit.impl.TestCompletionImpl.reporters:Ljava/util/List;
3: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.vertx.ext.unit.impl.TestCompletionImpl.failure:Ljava/util/concurrent/atomic/AtomicReference;
4: aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.reporters:Ljava/util/List;
aload 1
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/unit/impl/TestCompletionImpl;
0 6 1 reporters [Lio/vertx/ext/unit/report/Reporter;
MethodParameters:
Name Flags
reporters
public void addReporter(io.vertx.ext.unit.report.Reporter);
descriptor: (Lio/vertx/ext/unit/report/Reporter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.reporters:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/unit/impl/TestCompletionImpl;
0 2 1 reporter Lio/vertx/ext/unit/report/Reporter;
MethodParameters:
Name Flags
reporter
public void handle(io.vertx.ext.unit.report.TestSuiteReport);
descriptor: (Lio/vertx/ext/unit/report/TestSuiteReport;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.reporters:Ljava/util/List;
aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.reporters:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray io.vertx.ext.unit.report.Reporter
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast io.vertx.ext.unit.report.Reporter[]
astore 2
start local 2 1: aload 2
arraylength
anewarray java.lang.Object
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: io.vertx.ext.unit.report.Reporter[] java.lang.Object[] int
StackMap stack:
aload 3
iload 4
aload 2
iload 4
aaload
aload 1
invokeinterface io.vertx.ext.unit.report.TestSuiteReport.name:()Ljava/lang/String;
invokeinterface io.vertx.ext.unit.report.Reporter.reportBeginTestSuite:(Ljava/lang/String;)Ljava/lang/Object;
aastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 2
arraylength
if_icmplt 4
end local 4 7: aload 1
aload 0
aload 2
aload 3
invokedynamic handle(Lio/vertx/ext/unit/impl/TestCompletionImpl;[Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;)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/ext/unit/impl/TestCompletionImpl.lambda$0([Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;Lio/vertx/ext/unit/report/TestCaseReport;)V (7)
(Lio/vertx/ext/unit/report/TestCaseReport;)V
invokeinterface io.vertx.ext.unit.report.TestSuiteReport.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/unit/report/TestSuiteReport;
pop
8: new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 4
start local 4 9: aload 1
aload 0
aload 4
aload 2
aload 3
invokedynamic handle(Lio/vertx/ext/unit/impl/TestCompletionImpl;Ljava/util/concurrent/atomic/AtomicReference;[Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;)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/ext/unit/impl/TestCompletionImpl.lambda$2(Ljava/util/concurrent/atomic/AtomicReference;[Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.ext.unit.report.TestSuiteReport.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/unit/report/TestSuiteReport;
pop
10: aload 1
aload 0
aload 1
aload 2
aload 3
invokedynamic handle(Lio/vertx/ext/unit/impl/TestCompletionImpl;Lio/vertx/ext/unit/report/TestSuiteReport;[Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;)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/ext/unit/impl/TestCompletionImpl.lambda$3(Lio/vertx/ext/unit/report/TestSuiteReport;[Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.ext.unit.report.TestSuiteReport.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/unit/report/TestSuiteReport;
pop
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/ext/unit/impl/TestCompletionImpl;
0 12 1 report Lio/vertx/ext/unit/report/TestSuiteReport;
1 12 2 reporters [Lio/vertx/ext/unit/report/Reporter;
2 12 3 reports [Ljava/lang/Object;
3 7 4 i I
9 12 4 err Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;
MethodParameters:
Name Flags
report
public void handle(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.ext.unit.report.TestSuiteReport
invokevirtual io.vertx.ext.unit.impl.TestCompletionImpl.handle:(Lio/vertx/ext/unit/report/TestSuiteReport;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(io.vertx.ext.unit.report.Reporter[], java.lang.Object[], io.vertx.ext.unit.report.TestCaseReport);
descriptor: ([Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;Lio/vertx/ext/unit/report/TestCaseReport;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 3 0: iconst_0
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 1
iload 4
aaload
aload 2
iload 4
aaload
aload 3
invokeinterface io.vertx.ext.unit.report.TestCaseReport.name:()Ljava/lang/String;
invokeinterface io.vertx.ext.unit.report.Reporter.reportBeginTestCase:(Ljava/lang/Object;Ljava/lang/String;)V
3: iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
aload 1
arraylength
if_icmplt 2
end local 4 5: aload 3
aload 0
aload 1
aload 2
aload 3
invokedynamic handle(Lio/vertx/ext/unit/impl/TestCompletionImpl;[Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;Lio/vertx/ext/unit/report/TestCaseReport;)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/ext/unit/impl/TestCompletionImpl.lambda$1([Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;Lio/vertx/ext/unit/report/TestCaseReport;Lio/vertx/ext/unit/report/TestResult;)V (7)
(Lio/vertx/ext/unit/report/TestResult;)V
invokeinterface io.vertx.ext.unit.report.TestCaseReport.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/unit/report/TestCaseReport;
pop
6: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/unit/impl/TestCompletionImpl;
0 7 3 testcase Lio/vertx/ext/unit/report/TestCaseReport;
1 5 4 i I
private void lambda$2(java.util.concurrent.atomic.AtomicReference, io.vertx.ext.unit.report.Reporter[], java.lang.Object[], java.lang.Throwable);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;[Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 4 0: aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.failure:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
1: aload 1
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
2: iconst_0
istore 5
start local 5 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 2
iload 5
aaload
aload 3
iload 5
aaload
aload 4
invokeinterface io.vertx.ext.unit.report.Reporter.reportError:(Ljava/lang/Object;Ljava/lang/Throwable;)V
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
aload 2
arraylength
if_icmplt 4
end local 5 7: return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/unit/impl/TestCompletionImpl;
0 8 4 t Ljava/lang/Throwable;
3 7 5 i I
private void lambda$3(io.vertx.ext.unit.report.TestSuiteReport, io.vertx.ext.unit.report.Reporter[], java.lang.Object[], java.lang.Void);
descriptor: (Lio/vertx/ext/unit/report/TestSuiteReport;[Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 4 0: aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.report:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
1: iconst_0
istore 5
start local 5 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 2
iload 5
aaload
aload 3
iload 5
aaload
invokeinterface io.vertx.ext.unit.report.Reporter.reportEndTestSuite:(Ljava/lang/Object;)V
4: iinc 5 1
StackMap locals:
StackMap stack:
5: iload 5
aload 2
arraylength
if_icmplt 3
end local 5 6: aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.failure:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 9
7: aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.failure:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
aconst_null
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
10: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/unit/impl/TestCompletionImpl;
0 11 4 v Ljava/lang/Void;
2 6 5 i I
private void lambda$1(io.vertx.ext.unit.report.Reporter[], java.lang.Object[], io.vertx.ext.unit.report.TestCaseReport, io.vertx.ext.unit.report.TestResult);
descriptor: ([Lio/vertx/ext/unit/report/Reporter;[Ljava/lang/Object;Lio/vertx/ext/unit/report/TestCaseReport;Lio/vertx/ext/unit/report/TestResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 4 0: aload 4
invokeinterface io.vertx.ext.unit.report.TestResult.failed:()Z
ifeq 2
1: aload 0
getfield io.vertx.ext.unit.impl.TestCompletionImpl.failure:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 4
invokeinterface io.vertx.ext.unit.report.TestResult.failure:()Lio/vertx/ext/unit/report/Failure;
invokeinterface io.vertx.ext.unit.report.Failure.cause:()Ljava/lang/Throwable;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 1
iload 5
aaload
aload 2
iload 5
aaload
aload 3
invokeinterface io.vertx.ext.unit.report.TestCaseReport.name:()Ljava/lang/String;
aload 4
invokeinterface io.vertx.ext.unit.report.Reporter.reportEndTestCase:(Ljava/lang/Object;Ljava/lang/String;Lio/vertx/ext/unit/report/TestResult;)V
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
aload 1
arraylength
if_icmplt 4
end local 5 7: return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/unit/impl/TestCompletionImpl;
0 8 4 result Lio/vertx/ext/unit/report/TestResult;
3 7 5 i I
}
Signature: Lio/vertx/ext/unit/impl/CompletionImpl<Ljava/lang/Void;>;Lio/vertx/ext/unit/TestCompletion;Lio/vertx/core/Handler<Lio/vertx/ext/unit/report/TestSuiteReport;>;
SourceFile: "TestCompletionImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles