public final class io.netty.util.concurrent.UnaryPromiseNotifier<T> implements io.netty.util.concurrent.FutureListener<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.netty.util.concurrent.UnaryPromiseNotifier
  super_class: java.lang.Object
{
  private static final io.netty.util.internal.logging.InternalLogger logger;
    descriptor: Lio/netty/util/internal/logging/InternalLogger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final io.netty.util.concurrent.Promise<? super T> promise;
    descriptor: Lio/netty/util/concurrent/Promise;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lio/netty/util/concurrent/Promise<-TT;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 23
            ldc Lio/netty/util/concurrent/UnaryPromiseNotifier;
            invokestatic io.netty.util.internal.logging.InternalLoggerFactory.getInstance:(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
            putstatic io.netty.util.concurrent.UnaryPromiseNotifier.logger:Lio/netty/util/internal/logging/InternalLogger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(io.netty.util.concurrent.Promise<? super T>);
    descriptor: (Lio/netty/util/concurrent/Promise;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.netty.util.concurrent.UnaryPromiseNotifier this
        start local 1 // io.netty.util.concurrent.Promise promise
         0: .line 26
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 27
            aload 0 /* this */
            aload 1 /* promise */
            ldc "promise"
            invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast io.netty.util.concurrent.Promise
            putfield io.netty.util.concurrent.UnaryPromiseNotifier.promise:Lio/netty/util/concurrent/Promise;
         2: .line 28
            return
        end local 1 // io.netty.util.concurrent.Promise promise
        end local 0 // io.netty.util.concurrent.UnaryPromiseNotifier this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lio/netty/util/concurrent/UnaryPromiseNotifier<TT;>;
            0    3     1  promise  Lio/netty/util/concurrent/Promise<-TT;>;
    Signature: (Lio/netty/util/concurrent/Promise<-TT;>;)V
    MethodParameters:
         Name  Flags
      promise  

  public void operationComplete(io.netty.util.concurrent.Future<T>);
    descriptor: (Lio/netty/util/concurrent/Future;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.netty.util.concurrent.UnaryPromiseNotifier this
        start local 1 // io.netty.util.concurrent.Future future
         0: .line 32
            aload 1 /* future */
            aload 0 /* this */
            getfield io.netty.util.concurrent.UnaryPromiseNotifier.promise:Lio/netty/util/concurrent/Promise;
            invokestatic io.netty.util.concurrent.UnaryPromiseNotifier.cascadeTo:(Lio/netty/util/concurrent/Future;Lio/netty/util/concurrent/Promise;)V
         1: .line 33
            return
        end local 1 // io.netty.util.concurrent.Future future
        end local 0 // io.netty.util.concurrent.UnaryPromiseNotifier this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lio/netty/util/concurrent/UnaryPromiseNotifier<TT;>;
            0    2     1  future  Lio/netty/util/concurrent/Future<TT;>;
    Exceptions:
      throws java.lang.Exception
    Signature: (Lio/netty/util/concurrent/Future<TT;>;)V
    MethodParameters:
        Name  Flags
      future  

  public static <X> void cascadeTo(io.netty.util.concurrent.Future<X>, io.netty.util.concurrent.Promise<? super X>);
    descriptor: (Lio/netty/util/concurrent/Future;Lio/netty/util/concurrent/Promise;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // io.netty.util.concurrent.Future completedFuture
        start local 1 // io.netty.util.concurrent.Promise promise
         0: .line 36
            aload 0 /* completedFuture */
            invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
            ifeq 4
         1: .line 37
            aload 1 /* promise */
            aload 0 /* completedFuture */
            invokeinterface io.netty.util.concurrent.Future.getNow:()Ljava/lang/Object;
            invokeinterface io.netty.util.concurrent.Promise.trySuccess:(Ljava/lang/Object;)Z
            ifne 12
         2: .line 38
            getstatic io.netty.util.concurrent.UnaryPromiseNotifier.logger:Lio/netty/util/internal/logging/InternalLogger;
            ldc "Failed to mark a promise as success because it is done already: {}"
            aload 1 /* promise */
            invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
         3: .line 40
            goto 12
      StackMap locals:
      StackMap stack:
         4: aload 0 /* completedFuture */
            invokeinterface io.netty.util.concurrent.Future.isCancelled:()Z
            ifeq 8
         5: .line 41
            aload 1 /* promise */
            iconst_0
            invokeinterface io.netty.util.concurrent.Promise.cancel:(Z)Z
            ifne 12
         6: .line 42
            getstatic io.netty.util.concurrent.UnaryPromiseNotifier.logger:Lio/netty/util/internal/logging/InternalLogger;
            ldc "Failed to cancel a promise because it is done already: {}"
            aload 1 /* promise */
            invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
         7: .line 44
            goto 12
         8: .line 45
      StackMap locals:
      StackMap stack:
            aload 1 /* promise */
            aload 0 /* completedFuture */
            invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
            invokeinterface io.netty.util.concurrent.Promise.tryFailure:(Ljava/lang/Throwable;)Z
            ifne 12
         9: .line 46
            getstatic io.netty.util.concurrent.UnaryPromiseNotifier.logger:Lio/netty/util/internal/logging/InternalLogger;
            ldc "Failed to mark a promise as failure because it's done already: {}"
            aload 1 /* promise */
        10: .line 47
            aload 0 /* completedFuture */
            invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
        11: .line 46
            invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 50
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.netty.util.concurrent.Promise promise
        end local 0 // io.netty.util.concurrent.Future completedFuture
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   13     0  completedFuture  Lio/netty/util/concurrent/Future<TX;>;
            0   13     1          promise  Lio/netty/util/concurrent/Promise<-TX;>;
    Signature: <X:Ljava/lang/Object;>(Lio/netty/util/concurrent/Future<TX;>;Lio/netty/util/concurrent/Promise<-TX;>;)V
    MethodParameters:
                 Name  Flags
      completedFuture  
      promise          
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/netty/util/concurrent/FutureListener<TT;>;
SourceFile: "UnaryPromiseNotifier.java"