public class io.vertx.ext.unit.impl.CompletionImpl<T> implements io.vertx.ext.unit.Completion<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.vertx.ext.unit.impl.CompletionImpl
  super_class: java.lang.Object
{
  protected final java.util.concurrent.CompletableFuture<T> completable;
    descriptor: Ljava/util/concurrent/CompletableFuture;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Signature: Ljava/util/concurrent/CompletableFuture<TT;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
         0: .line 17
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 19
            aload 0 /* this */
            new java.util.concurrent.CompletableFuture
            dup
            invokespecial java.util.concurrent.CompletableFuture.<init>:()V
            putfield io.vertx.ext.unit.impl.CompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
         2: .line 17
            return
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;

  public void resolve(io.vertx.core.Promise<T>);
    descriptor: (Lio/vertx/core/Promise;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
        start local 1 // io.vertx.core.Promise future
         0: .line 23
            aload 0 /* this */
            getfield io.vertx.ext.unit.impl.CompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
            aload 1 /* future */
            invokedynamic accept(Lio/vertx/core/Promise;)Ljava/util/function/BiConsumer;
              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;)V
                  io/vertx/ext/unit/impl/CompletionImpl.lambda$0(Lio/vertx/core/Promise;Ljava/lang/Object;Ljava/lang/Throwable;)V (6)
                  (Ljava/lang/Object;Ljava/lang/Throwable;)V
            invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
            pop
         1: .line 30
            return
        end local 1 // io.vertx.core.Promise future
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;
            0    2     1  future  Lio/vertx/core/Promise<TT;>;
    Signature: (Lio/vertx/core/Promise<TT;>;)V
    MethodParameters:
        Name  Flags
      future  

  public void resolve(io.vertx.core.Future);
    descriptor: (Lio/vertx/core/Future;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
        start local 1 // io.vertx.core.Future future
         0: .line 34
            aload 0 /* this */
            getfield io.vertx.ext.unit.impl.CompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
            aload 1 /* future */
            invokedynamic accept(Lio/vertx/core/Future;)Ljava/util/function/BiConsumer;
              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;)V
                  io/vertx/ext/unit/impl/CompletionImpl.lambda$1(Lio/vertx/core/Future;Ljava/lang/Object;Ljava/lang/Throwable;)V (6)
                  (Ljava/lang/Object;Ljava/lang/Throwable;)V
            invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
            pop
         1: .line 41
            return
        end local 1 // io.vertx.core.Future future
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;
            0    2     1  future  Lio/vertx/core/Future;
    MethodParameters:
        Name  Flags
      future  

  public boolean isCompleted();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
         0: .line 45
            aload 0 /* this */
            getfield io.vertx.ext.unit.impl.CompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
            invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
            ireturn
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;

  public boolean isSucceeded();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
         0: .line 50
            aload 0 /* this */
            invokevirtual io.vertx.ext.unit.impl.CompletionImpl.isCompleted:()Z
            ifeq 1
            aload 0 /* this */
            invokevirtual io.vertx.ext.unit.impl.CompletionImpl.isFailed:()Z
            ifne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;

  public boolean isFailed();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
         0: .line 55
            aload 0 /* this */
            getfield io.vertx.ext.unit.impl.CompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
            invokevirtual java.util.concurrent.CompletableFuture.isCompletedExceptionally:()Z
            ireturn
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;

  public void handler(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
        start local 1 // io.vertx.core.Handler completionHandler
         0: .line 60
            invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
            astore 2 /* completion */
        start local 2 // io.vertx.core.Promise completion
         1: .line 61
            aload 2 /* completion */
            invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
            aload 1 /* completionHandler */
            invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
            pop
         2: .line 62
            aload 0 /* this */
            aload 2 /* completion */
            invokevirtual io.vertx.ext.unit.impl.CompletionImpl.resolve:(Lio/vertx/core/Promise;)V
         3: .line 63
            return
        end local 2 // io.vertx.core.Promise completion
        end local 1 // io.vertx.core.Handler completionHandler
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    4     0               this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;
            0    4     1  completionHandler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
            1    4     2         completion  Lio/vertx/core/Promise<TT;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;)V
    MethodParameters:
                   Name  Flags
      completionHandler  

  public void await();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
         0: .line 68
            aload 0 /* this */
            getfield io.vertx.ext.unit.impl.CompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
            invokevirtual java.util.concurrent.CompletableFuture.get:()Ljava/lang/Object;
            pop
         1: .line 69
            goto 6
      StackMap locals:
      StackMap stack: java.util.concurrent.ExecutionException
         2: pop
            goto 6
         3: .line 70
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 1 /* e */
        start local 1 // java.lang.InterruptedException e
         4: .line 71
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         5: .line 72
            aload 1 /* e */
            invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
        end local 1 // java.lang.InterruptedException e
         6: .line 74
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;
            4    6     1     e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.util.concurrent.ExecutionException
           0     1       3  Class java.lang.InterruptedException

  public void await(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
        start local 1 // long timeoutMillis
         0: .line 79
            aload 0 /* this */
            getfield io.vertx.ext.unit.impl.CompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
            lload 1 /* timeoutMillis */
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual java.util.concurrent.CompletableFuture.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
            pop
         1: .line 80
            goto 9
      StackMap locals:
      StackMap stack: java.util.concurrent.ExecutionException
         2: pop
            goto 9
         3: .line 81
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 3 /* e */
        start local 3 // java.lang.InterruptedException e
         4: .line 82
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         5: .line 83
            aload 3 /* e */
            invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
        end local 3 // java.lang.InterruptedException e
         6: goto 9
         7: .line 84
      StackMap locals:
      StackMap stack: java.util.concurrent.TimeoutException
            pop
         8: .line 85
            new java.util.concurrent.TimeoutException
            dup
            ldc "Timed out"
            invokespecial java.util.concurrent.TimeoutException.<init>:(Ljava/lang/String;)V
            invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
         9: .line 87
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long timeoutMillis
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   10     0           this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;
            0   10     1  timeoutMillis  J
            4    6     3              e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.util.concurrent.ExecutionException
           0     1       3  Class java.lang.InterruptedException
           0     1       7  Class java.util.concurrent.TimeoutException
    MethodParameters:
               Name  Flags
      timeoutMillis  

  public void awaitSuccess();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
         0: .line 92
            aload 0 /* this */
            getfield io.vertx.ext.unit.impl.CompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
            invokevirtual java.util.concurrent.CompletableFuture.get:()Ljava/lang/Object;
            pop
         1: .line 93
            goto 8
      StackMap locals:
      StackMap stack: java.util.concurrent.ExecutionException
         2: astore 1 /* result */
        start local 1 // java.util.concurrent.ExecutionException result
         3: .line 94
            aload 1 /* result */
            invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
            invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
        end local 1 // java.util.concurrent.ExecutionException result
         4: goto 8
         5: .line 95
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 1 /* e */
        start local 1 // java.lang.InterruptedException e
         6: .line 96
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         7: .line 97
            aload 1 /* e */
            invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
        end local 1 // java.lang.InterruptedException e
         8: .line 99
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;
            3    4     1  result  Ljava/util/concurrent/ExecutionException;
            6    8     1       e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.util.concurrent.ExecutionException
           0     1       5  Class java.lang.InterruptedException

  public void awaitSuccess(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // io.vertx.ext.unit.impl.CompletionImpl this
        start local 1 // long timeoutMillis
         0: .line 104
            aload 0 /* this */
            getfield io.vertx.ext.unit.impl.CompletionImpl.completable:Ljava/util/concurrent/CompletableFuture;
            lload 1 /* timeoutMillis */
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual java.util.concurrent.CompletableFuture.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
            pop
         1: .line 105
            goto 11
      StackMap locals:
      StackMap stack: java.util.concurrent.ExecutionException
         2: astore 3 /* result */
        start local 3 // java.util.concurrent.ExecutionException result
         3: .line 106
            aload 3 /* result */
            invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
            invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
        end local 3 // java.util.concurrent.ExecutionException result
         4: goto 11
         5: .line 107
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 3 /* e */
        start local 3 // java.lang.InterruptedException e
         6: .line 108
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         7: .line 109
            aload 3 /* e */
            invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
        end local 3 // java.lang.InterruptedException e
         8: goto 11
         9: .line 110
      StackMap locals:
      StackMap stack: java.util.concurrent.TimeoutException
            pop
        10: .line 111
            new java.util.concurrent.TimeoutException
            dup
            ldc "Timed out"
            invokespecial java.util.concurrent.TimeoutException.<init>:(Ljava/lang/String;)V
            invokestatic io.vertx.ext.unit.impl.Helper.uncheckedThrow:(Ljava/lang/Throwable;)V
        11: .line 113
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long timeoutMillis
        end local 0 // io.vertx.ext.unit.impl.CompletionImpl this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   12     0           this  Lio/vertx/ext/unit/impl/CompletionImpl<TT;>;
            0   12     1  timeoutMillis  J
            3    4     3         result  Ljava/util/concurrent/ExecutionException;
            6    8     3              e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.util.concurrent.ExecutionException
           0     1       5  Class java.lang.InterruptedException
           0     1       9  Class java.util.concurrent.TimeoutException
    MethodParameters:
               Name  Flags
      timeoutMillis  

  private static void lambda$0(io.vertx.core.Promise, java.lang.Object, java.lang.Throwable);
    descriptor: (Lio/vertx/core/Promise;Ljava/lang/Object;Ljava/lang/Throwable;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 1 // java.lang.Object done
        start local 2 // java.lang.Throwable err
         0: .line 24
            aload 2 /* err */
            ifnull 3
         1: .line 25
            aload 0
            aload 2 /* err */
            invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
         2: .line 26
            goto 4
         3: .line 27
      StackMap locals:
      StackMap stack:
            aload 0
            invokeinterface io.vertx.core.Promise.complete:()V
         4: .line 29
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Throwable err
        end local 1 // java.lang.Object done
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     1  done  TT;
            0    5     2   err  Ljava/lang/Throwable;

  private static void lambda$1(io.vertx.core.Future, java.lang.Object, java.lang.Throwable);
    descriptor: (Lio/vertx/core/Future;Ljava/lang/Object;Ljava/lang/Throwable;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 1 // java.lang.Object done
        start local 2 // java.lang.Throwable err
         0: .line 35
            aload 2 /* err */
            ifnull 3
         1: .line 36
            aload 0
            aload 2 /* err */
            invokeinterface io.vertx.core.Future.fail:(Ljava/lang/Throwable;)V
         2: .line 37
            goto 4
         3: .line 38
      StackMap locals:
      StackMap stack:
            aload 0
            invokeinterface io.vertx.core.Future.complete:()V
         4: .line 40
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Throwable err
        end local 1 // java.lang.Object done
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     1  done  TT;
            0    5     2   err  Ljava/lang/Throwable;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/vertx/ext/unit/Completion<TT;>;
SourceFile: "CompletionImpl.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles