public final class io.netty.util.concurrent.PromiseCombiner
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.netty.util.concurrent.PromiseCombiner
  super_class: java.lang.Object
{
  private int expectedCount;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int doneCount;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private boolean doneAdding;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private io.netty.util.concurrent.Promise<java.lang.Void> aggregatePromise;
    descriptor: Lio/netty/util/concurrent/Promise;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/netty/util/concurrent/Promise<Ljava/lang/Void;>;

  private java.lang.Throwable cause;
    descriptor: Ljava/lang/Throwable;
    flags: (0x0002) ACC_PRIVATE

  private final io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<?>> listener;
    descriptor: Lio/netty/util/concurrent/GenericFutureListener;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lio/netty/util/concurrent/GenericFutureListener<Lio/netty/util/concurrent/Future<*>;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // io.netty.util.concurrent.PromiseCombiner this
         0: .line 32
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 38
            aload 0 /* this */
            new io.netty.util.concurrent.PromiseCombiner$1
            dup
            aload 0 /* this */
            invokespecial io.netty.util.concurrent.PromiseCombiner$1.<init>:(Lio/netty/util/concurrent/PromiseCombiner;)V
            putfield io.netty.util.concurrent.PromiseCombiner.listener:Lio/netty/util/concurrent/GenericFutureListener;
         2: .line 32
            return
        end local 0 // io.netty.util.concurrent.PromiseCombiner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/netty/util/concurrent/PromiseCombiner;

  public void add(io.netty.util.concurrent.Promise);
    descriptor: (Lio/netty/util/concurrent/Promise;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.netty.util.concurrent.PromiseCombiner this
        start local 1 // io.netty.util.concurrent.Promise promise
         0: .line 61
            aload 0 /* this */
            aload 1 /* promise */
            invokevirtual io.netty.util.concurrent.PromiseCombiner.add:(Lio/netty/util/concurrent/Future;)V
         1: .line 62
            return
        end local 1 // io.netty.util.concurrent.Promise promise
        end local 0 // io.netty.util.concurrent.PromiseCombiner this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lio/netty/util/concurrent/PromiseCombiner;
            0    2     1  promise  Lio/netty/util/concurrent/Promise;
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
         Name  Flags
      promise  

  public void add(io.netty.util.concurrent.Future);
    descriptor: (Lio/netty/util/concurrent/Future;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.netty.util.concurrent.PromiseCombiner this
        start local 1 // io.netty.util.concurrent.Future future
         0: .line 72
            aload 0 /* this */
            invokevirtual io.netty.util.concurrent.PromiseCombiner.checkAddAllowed:()V
         1: .line 73
            aload 0 /* this */
            dup
            getfield io.netty.util.concurrent.PromiseCombiner.expectedCount:I
            iconst_1
            iadd
            putfield io.netty.util.concurrent.PromiseCombiner.expectedCount:I
         2: .line 74
            aload 1 /* future */
            aload 0 /* this */
            getfield io.netty.util.concurrent.PromiseCombiner.listener:Lio/netty/util/concurrent/GenericFutureListener;
            invokeinterface io.netty.util.concurrent.Future.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Future;
            pop
         3: .line 75
            return
        end local 1 // io.netty.util.concurrent.Future future
        end local 0 // io.netty.util.concurrent.PromiseCombiner this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lio/netty/util/concurrent/PromiseCombiner;
            0    4     1  future  Lio/netty/util/concurrent/Future;
    MethodParameters:
        Name  Flags
      future  

  public void addAll(io.netty.util.concurrent.Promise[]);
    descriptor: ([Lio/netty/util/concurrent/Promise;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.netty.util.concurrent.PromiseCombiner this
        start local 1 // io.netty.util.concurrent.Promise[] promises
         0: .line 87
            aload 0 /* this */
            aload 1 /* promises */
            invokevirtual io.netty.util.concurrent.PromiseCombiner.addAll:([Lio/netty/util/concurrent/Future;)V
         1: .line 88
            return
        end local 1 // io.netty.util.concurrent.Promise[] promises
        end local 0 // io.netty.util.concurrent.PromiseCombiner this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lio/netty/util/concurrent/PromiseCombiner;
            0    2     1  promises  [Lio/netty/util/concurrent/Promise;
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
          Name  Flags
      promises  

  public void addAll(io.netty.util.concurrent.Future[]);
    descriptor: ([Lio/netty/util/concurrent/Future;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // io.netty.util.concurrent.PromiseCombiner this
        start local 1 // io.netty.util.concurrent.Future[] futures
         0: .line 98
            aload 1 /* futures */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 4
      StackMap locals: io.netty.util.concurrent.PromiseCombiner io.netty.util.concurrent.Future[] top int int io.netty.util.concurrent.Future[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* future */
        start local 2 // io.netty.util.concurrent.Future future
         2: .line 99
            aload 0 /* this */
            aload 2 /* future */
            invokevirtual io.netty.util.concurrent.PromiseCombiner.add:(Lio/netty/util/concurrent/Future;)V
        end local 2 // io.netty.util.concurrent.Future future
         3: .line 98
            iinc 3 1
      StackMap locals:
      StackMap stack:
         4: iload 3
            iload 4
            if_icmplt 1
         5: .line 101
            return
        end local 1 // io.netty.util.concurrent.Future[] futures
        end local 0 // io.netty.util.concurrent.PromiseCombiner this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lio/netty/util/concurrent/PromiseCombiner;
            0    6     1  futures  [Lio/netty/util/concurrent/Future;
            2    3     2   future  Lio/netty/util/concurrent/Future;
    MethodParameters:
         Name  Flags
      futures  

  public void finish(io.netty.util.concurrent.Promise<java.lang.Void>);
    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.PromiseCombiner this
        start local 1 // io.netty.util.concurrent.Promise aggregatePromise
         0: .line 115
            aload 0 /* this */
            getfield io.netty.util.concurrent.PromiseCombiner.doneAdding:Z
            ifeq 2
         1: .line 116
            new java.lang.IllegalStateException
            dup
            ldc "Already finished"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 118
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield io.netty.util.concurrent.PromiseCombiner.doneAdding:Z
         3: .line 119
            aload 0 /* this */
            aload 1 /* aggregatePromise */
            ldc "aggregatePromise"
            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.PromiseCombiner.aggregatePromise:Lio/netty/util/concurrent/Promise;
         4: .line 120
            aload 0 /* this */
            getfield io.netty.util.concurrent.PromiseCombiner.doneCount:I
            aload 0 /* this */
            getfield io.netty.util.concurrent.PromiseCombiner.expectedCount:I
            if_icmpne 6
         5: .line 121
            aload 0 /* this */
            invokevirtual io.netty.util.concurrent.PromiseCombiner.tryPromise:()Z
            pop
         6: .line 123
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.netty.util.concurrent.Promise aggregatePromise
        end local 0 // io.netty.util.concurrent.PromiseCombiner this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    7     0              this  Lio/netty/util/concurrent/PromiseCombiner;
            0    7     1  aggregatePromise  Lio/netty/util/concurrent/Promise<Ljava/lang/Void;>;
    Signature: (Lio/netty/util/concurrent/Promise<Ljava/lang/Void;>;)V
    MethodParameters:
                  Name  Flags
      aggregatePromise  

  private boolean tryPromise();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.netty.util.concurrent.PromiseCombiner this
         0: .line 126
            aload 0 /* this */
            getfield io.netty.util.concurrent.PromiseCombiner.cause:Ljava/lang/Throwable;
            ifnonnull 1
            aload 0 /* this */
            getfield io.netty.util.concurrent.PromiseCombiner.aggregatePromise:Lio/netty/util/concurrent/Promise;
            aconst_null
            invokeinterface io.netty.util.concurrent.Promise.trySuccess:(Ljava/lang/Object;)Z
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield io.netty.util.concurrent.PromiseCombiner.aggregatePromise:Lio/netty/util/concurrent/Promise;
            aload 0 /* this */
            getfield io.netty.util.concurrent.PromiseCombiner.cause:Ljava/lang/Throwable;
            invokeinterface io.netty.util.concurrent.Promise.tryFailure:(Ljava/lang/Throwable;)Z
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // io.netty.util.concurrent.PromiseCombiner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/netty/util/concurrent/PromiseCombiner;

  private void checkAddAllowed();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.netty.util.concurrent.PromiseCombiner this
         0: .line 130
            aload 0 /* this */
            getfield io.netty.util.concurrent.PromiseCombiner.doneAdding:Z
            ifeq 2
         1: .line 131
            new java.lang.IllegalStateException
            dup
            ldc "Adding promises is not allowed after finished adding"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 133
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.netty.util.concurrent.PromiseCombiner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/netty/util/concurrent/PromiseCombiner;
}
SourceFile: "PromiseCombiner.java"
NestMembers:
  io.netty.util.concurrent.PromiseCombiner$1
InnerClasses:
  io.netty.util.concurrent.PromiseCombiner$1