public interface io.vertx.core.Promise<T> extends io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>
  minor version: 0
  major version: 59
  flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
  this_class: io.vertx.core.Promise
  super_class: java.lang.Object
{
  public static <T> io.vertx.core.Promise<T> succeededPromise();
    descriptor: ()Lio/vertx/core/Promise;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 39
            getstatic io.vertx.core.Future.factory:Lio/vertx/core/spi/FutureFactory;
            invokeinterface io.vertx.core.spi.FutureFactory.succeededPromise:()Lio/vertx/core/Promise;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: <T:Ljava/lang/Object;>()Lio/vertx/core/Promise<TT;>;

  public static <T> io.vertx.core.Promise<T> succeededPromise(T);
    descriptor: (Ljava/lang/Object;)Lio/vertx/core/Promise;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Object result
         0: .line 50
            getstatic io.vertx.core.Future.factory:Lio/vertx/core/spi/FutureFactory;
            aload 0 /* result */
            invokeinterface io.vertx.core.spi.FutureFactory.succeededPromise:(Ljava/lang/Object;)Lio/vertx/core/Promise;
            areturn
        end local 0 // java.lang.Object result
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  result  TT;
    Signature: <T:Ljava/lang/Object;>(TT;)Lio/vertx/core/Promise<TT;>;
    MethodParameters:
        Name  Flags
      result  

  public static <T> io.vertx.core.Promise<T> failedPromise(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Lio/vertx/core/Promise;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Throwable cause
         0: .line 61
            getstatic io.vertx.core.Future.factory:Lio/vertx/core/spi/FutureFactory;
            aload 0 /* cause */
            invokeinterface io.vertx.core.spi.FutureFactory.failedPromise:(Ljava/lang/Throwable;)Lio/vertx/core/Promise;
            areturn
        end local 0 // java.lang.Throwable cause
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  cause  Ljava/lang/Throwable;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Throwable;)Lio/vertx/core/Promise<TT;>;
    MethodParameters:
       Name  Flags
      cause  

  public static <T> io.vertx.core.Promise<T> failedPromise(java.lang.String);
    descriptor: (Ljava/lang/String;)Lio/vertx/core/Promise;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String failureMessage
         0: .line 72
            getstatic io.vertx.core.Future.factory:Lio/vertx/core/spi/FutureFactory;
            aload 0 /* failureMessage */
            invokeinterface io.vertx.core.spi.FutureFactory.failurePromise:(Ljava/lang/String;)Lio/vertx/core/Promise;
            areturn
        end local 0 // java.lang.String failureMessage
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0  failureMessage  Ljava/lang/String;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;)Lio/vertx/core/Promise<TT;>;
    MethodParameters:
                Name  Flags
      failureMessage  

  public static <T> io.vertx.core.Promise<T> promise();
    descriptor: ()Lio/vertx/core/Promise;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 82
            getstatic io.vertx.core.Future.factory:Lio/vertx/core/spi/FutureFactory;
            invokeinterface io.vertx.core.spi.FutureFactory.promise:()Lio/vertx/core/Promise;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: <T:Ljava/lang/Object;>()Lio/vertx/core/Promise<TT;>;

  public abstract void handle(io.vertx.core.AsyncResult<T>);
    descriptor: (Lio/vertx/core/AsyncResult;)V
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: (Lio/vertx/core/AsyncResult<TT;>;)V
    RuntimeVisibleAnnotations: 
      io.vertx.codegen.annotations.GenIgnore()
    MethodParameters:
             Name  Flags
      asyncResult  

  public abstract void complete();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: (TT;)V
    MethodParameters:
        Name  Flags
      result  

  public abstract void complete();
    descriptor: ()V
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public abstract void fail(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
       Name  Flags
      cause  

  public abstract void fail(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
         Name  Flags
      message  

  public abstract boolean tryComplete();
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: (TT;)Z
    MethodParameters:
        Name  Flags
      result  

  public abstract boolean tryComplete();
    descriptor: ()Z
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public abstract boolean tryFail(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Z
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
       Name  Flags
      cause  

  public abstract boolean tryFail(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
         Name  Flags
      message  

  public abstract io.vertx.core.Future<T> future();
    descriptor: ()Lio/vertx/core/Future;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: ()Lio/vertx/core/Future<TT;>;
    RuntimeVisibleAnnotations: 
      io.vertx.codegen.annotations.CacheReturn()

  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: .line 1
            aload 0
            aload 1
            checkcast io.vertx.core.AsyncResult
            invokeinterface io.vertx.core.Promise.handle:(Lio/vertx/core/AsyncResult;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
SourceFile: "Promise.java"
    RuntimeVisibleAnnotations: 
      io.vertx.codegen.annotations.VertxGen()