class org.xnio.ChannelListeners$17 implements org.xnio.ChannelListener<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.xnio.ChannelListeners$17
  super_class: java.lang.Object
{
  private final org.xnio.Pooled val$pooled;
    descriptor: Lorg/xnio/Pooled;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  private final org.xnio.ChannelExceptionHandler val$exceptionHandler;
    descriptor: Lorg/xnio/ChannelExceptionHandler;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  private final org.xnio.ChannelListener val$delegate;
    descriptor: Lorg/xnio/ChannelListener;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  void <init>(org.xnio.Pooled, org.xnio.ChannelExceptionHandler, org.xnio.ChannelListener);
    descriptor: (Lorg/xnio/Pooled;Lorg/xnio/ChannelExceptionHandler;Lorg/xnio/ChannelListener;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.xnio.ChannelListeners$17 this
         0: .line 476
            aload 0 /* this */
            aload 1
            putfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
            aload 0 /* this */
            aload 2
            putfield org.xnio.ChannelListeners$17.val$exceptionHandler:Lorg/xnio/ChannelExceptionHandler;
            aload 0 /* this */
            aload 3
            putfield org.xnio.ChannelListeners$17.val$delegate:Lorg/xnio/ChannelListener;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.xnio.ChannelListeners$17 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/ChannelListeners$17;
    MethodParameters:
                      Name  Flags
      val$pooled            final
      val$exceptionHandler  final
      val$delegate          final

  public void handleEvent();
    descriptor: (Lorg/xnio/channels/StreamSinkChannel;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // org.xnio.ChannelListeners$17 this
        start local 1 // org.xnio.channels.StreamSinkChannel channel
         0: .line 478
            aload 0 /* this */
            getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
            invokeinterface org.xnio.Pooled.getResource:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            astore 2 /* buffer */
        start local 2 // java.nio.ByteBuffer buffer
         1: .line 480
            iconst_0
            istore 4 /* ok */
        start local 4 // boolean ok
         2: .line 483
      StackMap locals: org.xnio.ChannelListeners$17 org.xnio.channels.StreamSinkChannel java.nio.ByteBuffer top int
      StackMap stack:
            aload 1 /* channel */
            aload 2 /* buffer */
            invokeinterface org.xnio.channels.StreamSinkChannel.write:(Ljava/nio/ByteBuffer;)I
            istore 3 /* result */
        start local 3 // int result
         3: .line 484
            iconst_1
            istore 4 /* ok */
         4: .line 485
            goto 16
        end local 3 // int result
      StackMap locals:
      StackMap stack: java.io.IOException
         5: astore 5 /* e */
        start local 5 // java.io.IOException e
         6: .line 486
            aload 1 /* channel */
            invokeinterface org.xnio.channels.StreamSinkChannel.suspendWrites:()V
         7: .line 487
            aload 0 /* this */
            getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
            invokeinterface org.xnio.Pooled.free:()V
         8: .line 488
            aload 1 /* channel */
            aload 0 /* this */
            getfield org.xnio.ChannelListeners$17.val$exceptionHandler:Lorg/xnio/ChannelExceptionHandler;
            aload 5 /* e */
            invokestatic org.xnio.ChannelListeners.invokeChannelExceptionHandler:(Ljava/nio/channels/Channel;Lorg/xnio/ChannelExceptionHandler;Ljava/io/IOException;)V
         9: .line 491
            iload 4 /* ok */
            ifne 11
        10: .line 492
            aload 0 /* this */
            getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
            invokeinterface org.xnio.Pooled.free:()V
        11: .line 489
      StackMap locals: java.io.IOException
      StackMap stack:
            return
        end local 5 // java.io.IOException e
        12: .line 490
      StackMap locals: org.xnio.ChannelListeners$17 org.xnio.channels.StreamSinkChannel java.nio.ByteBuffer top int
      StackMap stack: java.lang.Throwable
            astore 6
        13: .line 491
            iload 4 /* ok */
            ifne 15
        14: .line 492
            aload 0 /* this */
            getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
            invokeinterface org.xnio.Pooled.free:()V
        15: .line 494
      StackMap locals: org.xnio.ChannelListeners$17 org.xnio.channels.StreamSinkChannel java.nio.ByteBuffer top int top java.lang.Throwable
      StackMap stack:
            aload 6
            athrow
        start local 3 // int result
        16: .line 491
      StackMap locals: org.xnio.ChannelListeners$17 org.xnio.channels.StreamSinkChannel java.nio.ByteBuffer int int
      StackMap stack:
            iload 4 /* ok */
            ifne 18
        17: .line 492
            aload 0 /* this */
            getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
            invokeinterface org.xnio.Pooled.free:()V
        18: .line 495
      StackMap locals:
      StackMap stack:
            iload 3 /* result */
            ifne 22
        19: .line 496
            aload 1 /* channel */
            aload 0 /* this */
            invokestatic org.xnio.channels.Channels.setWriteListener:(Lorg/xnio/channels/SuspendableWriteChannel;Lorg/xnio/ChannelListener;)V
        20: .line 497
            aload 1 /* channel */
            invokeinterface org.xnio.channels.StreamSinkChannel.resumeWrites:()V
        21: .line 498
            return
        22: .line 500
      StackMap locals:
      StackMap stack:
            aload 2 /* buffer */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 2
        23: .line 501
            aload 0 /* this */
            getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
            invokeinterface org.xnio.Pooled.free:()V
        24: .line 502
            aload 1 /* channel */
            aload 0 /* this */
            getfield org.xnio.ChannelListeners$17.val$delegate:Lorg/xnio/ChannelListener;
            invokestatic org.xnio.ChannelListeners.invokeChannelListener:(Ljava/nio/channels/Channel;Lorg/xnio/ChannelListener;)Z
            pop
        25: .line 503
            return
        end local 4 // boolean ok
        end local 3 // int result
        end local 2 // java.nio.ByteBuffer buffer
        end local 1 // org.xnio.channels.StreamSinkChannel channel
        end local 0 // org.xnio.ChannelListeners$17 this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   26     0     this  Lorg/xnio/ChannelListeners$17;
            0   26     1  channel  TT;
            1   26     2   buffer  Ljava/nio/ByteBuffer;
            3    5     3   result  I
           16   26     3   result  I
            2   26     4       ok  Z
            6   12     5        e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     4       5  Class java.io.IOException
           2     9      12  any
    Signature: (TT;)V
    MethodParameters:
         Name  Flags
      channel  final

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.xnio.ChannelListeners$17 this
         0: .line 506
            new java.lang.StringBuilder
            dup
            ldc "Writing channel listener -> "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.xnio.ChannelListeners$17.val$delegate:Lorg/xnio/ChannelListener;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // org.xnio.ChannelListeners$17 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/ChannelListeners$17;

  public void handleEvent(java.nio.channels.Channel);
    descriptor: (Ljava/nio/channels/Channel;)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 org.xnio.channels.StreamSinkChannel
            invokevirtual org.xnio.ChannelListeners$17.handleEvent:(Lorg/xnio/channels/StreamSinkChannel;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Lorg/xnio/ChannelListener<TT;>;
SourceFile: "ChannelListeners.java"
EnclosingMethod: org.xnio.ChannelListeners.writingChannelListener:(Lorg/xnio/Pooled;Lorg/xnio/ChannelListener;Lorg/xnio/ChannelExceptionHandler;)Lorg/xnio/ChannelListener;
NestHost: org.xnio.ChannelListeners
InnerClasses:
  org.xnio.ChannelListeners$17