class jdk.incubator.http.HttpClientImpl$SelectorAttachment
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.incubator.http.HttpClientImpl$SelectorAttachment
  super_class: java.lang.Object
{
  private final java.nio.channels.SelectableChannel chan;
    descriptor: Ljava/nio/channels/SelectableChannel;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.channels.Selector selector;
    descriptor: Ljava/nio/channels/Selector;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.ArrayList<jdk.incubator.http.AsyncEvent> pending;
    descriptor: Ljava/util/ArrayList;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/ArrayList<Ljdk/incubator/http/AsyncEvent;>;

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

  void <init>(java.nio.channels.SelectableChannel, java.nio.channels.Selector);
    descriptor: (Ljava/nio/channels/SelectableChannel;Ljava/nio/channels/Selector;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
        start local 1 // java.nio.channels.SelectableChannel chan
        start local 2 // java.nio.channels.Selector selector
         0: .line 459
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 460
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/ArrayList;
         2: .line 461
            aload 0 /* this */
            aload 1 /* chan */
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.chan:Ljava/nio/channels/SelectableChannel;
         3: .line 462
            aload 0 /* this */
            aload 2 /* selector */
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.selector:Ljava/nio/channels/Selector;
         4: .line 463
            return
        end local 2 // java.nio.channels.Selector selector
        end local 1 // java.nio.channels.SelectableChannel chan
        end local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Ljdk/incubator/http/HttpClientImpl$SelectorAttachment;
            0    5     1      chan  Ljava/nio/channels/SelectableChannel;
            0    5     2  selector  Ljava/nio/channels/Selector;
    MethodParameters:
          Name  Flags
      chan      
      selector  

  void register(jdk.incubator.http.AsyncEvent);
    descriptor: (Ljdk/incubator/http/AsyncEvent;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
        start local 1 // jdk.incubator.http.AsyncEvent e
         0: .line 466
            aload 1 /* e */
            invokevirtual jdk.incubator.http.AsyncEvent.interestOps:()I
            istore 2 /* newOps */
        start local 2 // int newOps
         1: .line 467
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
            iload 2 /* newOps */
            iand
            iload 2 /* newOps */
            if_icmpeq 2
            iconst_1
            goto 3
      StackMap locals: int
      StackMap stack:
         2: iconst_0
      StackMap locals:
      StackMap stack: int
         3: istore 3 /* reRegister */
        start local 3 // boolean reRegister
         4: .line 468
            aload 0 /* this */
            dup
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
            iload 2 /* newOps */
            ior
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
         5: .line 469
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/ArrayList;
            aload 1 /* e */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         6: .line 470
            iload 3 /* reRegister */
            ifeq 8
         7: .line 472
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.chan:Ljava/nio/channels/SelectableChannel;
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.selector:Ljava/nio/channels/Selector;
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
            aload 0 /* this */
            invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;
            pop
         8: .line 474
      StackMap locals: int
      StackMap stack:
            return
        end local 3 // boolean reRegister
        end local 2 // int newOps
        end local 1 // jdk.incubator.http.AsyncEvent e
        end local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Ljdk/incubator/http/HttpClientImpl$SelectorAttachment;
            0    9     1           e  Ljdk/incubator/http/AsyncEvent;
            1    9     2      newOps  I
            4    9     3  reRegister  Z
    Exceptions:
      throws java.nio.channels.ClosedChannelException
    MethodParameters:
      Name  Flags
      e     

  java.util.stream.Stream<jdk.incubator.http.AsyncEvent> events(int);
    descriptor: (I)Ljava/util/stream/Stream;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
        start local 1 // int interestOps
         0: .line 481
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.stream:()Ljava/util/stream/Stream;
         1: .line 482
            iload 1 /* interestOps */
            invokedynamic test(I)Ljava/util/function/Predicate;
              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;)Z
                  jdk/incubator/http/HttpClientImpl$SelectorAttachment.lambda$0(ILjdk/incubator/http/AsyncEvent;)Z (6)
                  (Ljdk/incubator/http/AsyncEvent;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         2: .line 481
            areturn
        end local 1 // int interestOps
        end local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Ljdk/incubator/http/HttpClientImpl$SelectorAttachment;
            0    3     1  interestOps  I
    Signature: (I)Ljava/util/stream/Stream<Ljdk/incubator/http/AsyncEvent;>;
    MethodParameters:
             Name  Flags
      interestOps  

  void resetInterestOps(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
        start local 1 // int interestOps
         0: .line 490
            iconst_0
            istore 2 /* newOps */
        start local 2 // int newOps
         1: .line 492
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
            astore 3 /* itr */
        start local 3 // java.util.Iterator itr
         2: .line 493
            goto 12
         3: .line 494
      StackMap locals: int java.util.Iterator
      StackMap stack:
            aload 3 /* itr */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.incubator.http.AsyncEvent
            astore 4 /* event */
        start local 4 // jdk.incubator.http.AsyncEvent event
         4: .line 495
            aload 4 /* event */
            invokevirtual jdk.incubator.http.AsyncEvent.interestOps:()I
            istore 5 /* evops */
        start local 5 // int evops
         5: .line 496
            aload 4 /* event */
            invokevirtual jdk.incubator.http.AsyncEvent.repeating:()Z
            ifeq 8
         6: .line 497
            iload 2 /* newOps */
            iload 5 /* evops */
            ior
            istore 2 /* newOps */
         7: .line 498
            goto 12
         8: .line 500
      StackMap locals: jdk.incubator.http.AsyncEvent int
      StackMap stack:
            iload 5 /* evops */
            iload 1 /* interestOps */
            iand
            ifeq 11
         9: .line 501
            aload 3 /* itr */
            invokeinterface java.util.Iterator.remove:()V
        10: .line 502
            goto 12
        11: .line 503
      StackMap locals:
      StackMap stack:
            iload 2 /* newOps */
            iload 5 /* evops */
            ior
            istore 2 /* newOps */
        end local 5 // int evops
        end local 4 // jdk.incubator.http.AsyncEvent event
        12: .line 493
      StackMap locals:
      StackMap stack:
            aload 3 /* itr */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        13: .line 507
            aload 0 /* this */
            iload 2 /* newOps */
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
        14: .line 508
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.chan:Ljava/nio/channels/SelectableChannel;
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.selector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.SelectableChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
            astore 4 /* key */
        start local 4 // java.nio.channels.SelectionKey key
        15: .line 509
            iload 2 /* newOps */
            ifne 18
        16: .line 510
            aload 4 /* key */
            invokevirtual java.nio.channels.SelectionKey.cancel:()V
        17: .line 511
            goto 19
        18: .line 512
      StackMap locals: java.nio.channels.SelectionKey
      StackMap stack:
            aload 4 /* key */
            iload 2 /* newOps */
            invokevirtual java.nio.channels.SelectionKey.interestOps:(I)Ljava/nio/channels/SelectionKey;
            pop
        19: .line 514
      StackMap locals:
      StackMap stack:
            return
        end local 4 // java.nio.channels.SelectionKey key
        end local 3 // java.util.Iterator itr
        end local 2 // int newOps
        end local 1 // int interestOps
        end local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   20     0         this  Ljdk/incubator/http/HttpClientImpl$SelectorAttachment;
            0   20     1  interestOps  I
            1   20     2       newOps  I
            2   20     3          itr  Ljava/util/Iterator<Ljdk/incubator/http/AsyncEvent;>;
            4   12     4        event  Ljdk/incubator/http/AsyncEvent;
            5   12     5        evops  I
           15   20     4          key  Ljava/nio/channels/SelectionKey;
    MethodParameters:
             Name  Flags
      interestOps  

  private static boolean lambda$0(int, jdk.incubator.http.AsyncEvent);
    descriptor: (ILjdk/incubator/http/AsyncEvent;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // jdk.incubator.http.AsyncEvent ev
         0: .line 482
            aload 1 /* ev */
            invokevirtual jdk.incubator.http.AsyncEvent.interestOps:()I
            iload 0
            iand
            ifeq 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 1 // jdk.incubator.http.AsyncEvent ev
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     1    ev  Ljdk/incubator/http/AsyncEvent;
}
SourceFile: "HttpClientImpl.java"
NestHost: jdk.incubator.http.HttpClientImpl
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private SelectorAttachment = jdk.incubator.http.HttpClientImpl$SelectorAttachment of jdk.incubator.http.HttpClientImpl