public class org.apache.tomcat.util.buf.ByteBufferHolder
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.tomcat.util.buf.ByteBufferHolder
  super_class: java.lang.Object
{
  private final java.nio.ByteBuffer buf;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.atomic.AtomicBoolean flipped;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.nio.ByteBuffer, boolean);
    descriptor: (Ljava/nio/ByteBuffer;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.apache.tomcat.util.buf.ByteBufferHolder this
        start local 1 // java.nio.ByteBuffer buf
        start local 2 // boolean flipped
         0: .line 31
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 32
            aload 0 /* this */
            aload 1 /* buf */
            putfield org.apache.tomcat.util.buf.ByteBufferHolder.buf:Ljava/nio/ByteBuffer;
         2: .line 33
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            iload 2 /* flipped */
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
            putfield org.apache.tomcat.util.buf.ByteBufferHolder.flipped:Ljava/util/concurrent/atomic/AtomicBoolean;
         3: .line 34
            return
        end local 2 // boolean flipped
        end local 1 // java.nio.ByteBuffer buf
        end local 0 // org.apache.tomcat.util.buf.ByteBufferHolder this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lorg/apache/tomcat/util/buf/ByteBufferHolder;
            0    4     1      buf  Ljava/nio/ByteBuffer;
            0    4     2  flipped  Z
    MethodParameters:
         Name  Flags
      buf      
      flipped  

  public java.nio.ByteBuffer getBuf();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.buf.ByteBufferHolder this
         0: .line 38
            aload 0 /* this */
            getfield org.apache.tomcat.util.buf.ByteBufferHolder.buf:Ljava/nio/ByteBuffer;
            areturn
        end local 0 // org.apache.tomcat.util.buf.ByteBufferHolder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/tomcat/util/buf/ByteBufferHolder;

  public boolean isFlipped();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.buf.ByteBufferHolder this
         0: .line 43
            aload 0 /* this */
            getfield org.apache.tomcat.util.buf.ByteBufferHolder.flipped:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ireturn
        end local 0 // org.apache.tomcat.util.buf.ByteBufferHolder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/tomcat/util/buf/ByteBufferHolder;

  public boolean flip();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.buf.ByteBufferHolder this
         0: .line 48
            aload 0 /* this */
            getfield org.apache.tomcat.util.buf.ByteBufferHolder.flipped:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifeq 3
         1: .line 49
            aload 0 /* this */
            getfield org.apache.tomcat.util.buf.ByteBufferHolder.buf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
            pop
         2: .line 50
            iconst_1
            ireturn
         3: .line 52
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // org.apache.tomcat.util.buf.ByteBufferHolder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/tomcat/util/buf/ByteBufferHolder;
}
SourceFile: "ByteBufferHolder.java"