class com.sun.prism.es2.BufferFactory
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.prism.es2.BufferFactory
  super_class: java.lang.Object
{
  static final int SIZEOF_BYTE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  static final int SIZEOF_SHORT;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  static final int SIZEOF_CHAR;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  static final int SIZEOF_INT;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  static final int SIZEOF_FLOAT;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  static final int SIZEOF_LONG;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 8

  static final int SIZEOF_DOUBLE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 8

  private static final boolean isLittleEndian;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=3, args_size=0
         0: .line 42
            iconst_4
            invokestatic com.sun.prism.es2.BufferFactory.newDirectByteBuffer:(I)Ljava/nio/ByteBuffer;
            astore 0 /* tst_b */
        start local 0 // java.nio.ByteBuffer tst_b
         1: .line 43
            aload 0 /* tst_b */
            invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
            astore 1 /* tst_i */
        start local 1 // java.nio.IntBuffer tst_i
         2: .line 44
            aload 0 /* tst_b */
            invokevirtual java.nio.ByteBuffer.asShortBuffer:()Ljava/nio/ShortBuffer;
            astore 2 /* tst_s */
        start local 2 // java.nio.ShortBuffer tst_s
         3: .line 45
            aload 1 /* tst_i */
            iconst_0
            ldc 168496141
            invokevirtual java.nio.IntBuffer.put:(II)Ljava/nio/IntBuffer;
            pop
         4: .line 46
            sipush 3085
            aload 2 /* tst_s */
            iconst_0
            invokevirtual java.nio.ShortBuffer.get:(I)S
            if_icmpne 5
            iconst_1
            goto 6
      StackMap locals: java.nio.ByteBuffer java.nio.IntBuffer java.nio.ShortBuffer
      StackMap stack:
         5: iconst_0
      StackMap locals:
      StackMap stack: int
         6: putstatic com.sun.prism.es2.BufferFactory.isLittleEndian:Z
        end local 2 // java.nio.ShortBuffer tst_s
        end local 1 // java.nio.IntBuffer tst_i
        end local 0 // java.nio.ByteBuffer tst_b
         7: .line 47
            return
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            1    7     0  tst_b  Ljava/nio/ByteBuffer;
            2    7     1  tst_i  Ljava/nio/IntBuffer;
            3    7     2  tst_s  Ljava/nio/ShortBuffer;

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.prism.es2.BufferFactory this
         0: .line 30
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.sun.prism.es2.BufferFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/prism/es2/BufferFactory;

  static boolean isLittleEndian();
    descriptor: ()Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 50
            getstatic com.sun.prism.es2.BufferFactory.isLittleEndian:Z
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static java.nio.ByteBuffer newDirectByteBuffer(int);
    descriptor: (I)Ljava/nio/ByteBuffer;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int size
         0: .line 55
            iload 0 /* size */
            invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
            invokestatic com.sun.prism.es2.BufferFactory.nativeOrder:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            areturn
        end local 0 // int size
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  size  I
    MethodParameters:
      Name  Flags
      size  

  static java.nio.ByteBuffer nativeOrder(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.nio.ByteBuffer buf
         0: .line 62
            aload 0 /* buf */
            invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
            invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
            areturn
        end local 0 // java.nio.ByteBuffer buf
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   buf  Ljava/nio/ByteBuffer;
    MethodParameters:
      Name  Flags
      buf   

  static boolean isDirect(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // java.lang.Object buf
         0: .line 69
            aload 0 /* buf */
            ifnonnull 2
         1: .line 70
            iconst_1
            ireturn
         2: .line 72
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.ByteBuffer
            ifeq 4
         3: .line 73
            aload 0 /* buf */
            checkcast java.nio.ByteBuffer
            invokevirtual java.nio.ByteBuffer.isDirect:()Z
            ireturn
         4: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.FloatBuffer
            ifeq 6
         5: .line 75
            aload 0 /* buf */
            checkcast java.nio.FloatBuffer
            invokevirtual java.nio.FloatBuffer.isDirect:()Z
            ireturn
         6: .line 76
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.DoubleBuffer
            ifeq 8
         7: .line 77
            aload 0 /* buf */
            checkcast java.nio.DoubleBuffer
            invokevirtual java.nio.DoubleBuffer.isDirect:()Z
            ireturn
         8: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.CharBuffer
            ifeq 10
         9: .line 79
            aload 0 /* buf */
            checkcast java.nio.CharBuffer
            invokevirtual java.nio.CharBuffer.isDirect:()Z
            ireturn
        10: .line 80
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.ShortBuffer
            ifeq 12
        11: .line 81
            aload 0 /* buf */
            checkcast java.nio.ShortBuffer
            invokevirtual java.nio.ShortBuffer.isDirect:()Z
            ireturn
        12: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.IntBuffer
            ifeq 14
        13: .line 83
            aload 0 /* buf */
            checkcast java.nio.IntBuffer
            invokevirtual java.nio.IntBuffer.isDirect:()Z
            ireturn
        14: .line 84
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.LongBuffer
            ifeq 16
        15: .line 85
            aload 0 /* buf */
            checkcast java.nio.LongBuffer
            invokevirtual java.nio.LongBuffer.isDirect:()Z
            ireturn
        16: .line 87
      StackMap locals:
      StackMap stack:
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unexpected buffer type "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* buf */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // java.lang.Object buf
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0   buf  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      buf   

  static int getDirectBufferByteOffset(java.lang.Object);
    descriptor: (Ljava/lang/Object;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // java.lang.Object buf
         0: .line 95
            aload 0 /* buf */
            ifnonnull 2
         1: .line 96
            iconst_0
            ireturn
         2: .line 98
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.Buffer
            ifeq 18
         3: .line 99
            aload 0 /* buf */
            checkcast java.nio.Buffer
            invokevirtual java.nio.Buffer.position:()I
            istore 1 /* pos */
        start local 1 // int pos
         4: .line 100
            aload 0 /* buf */
            instanceof java.nio.ByteBuffer
            ifeq 6
         5: .line 101
            iload 1 /* pos */
            ireturn
         6: .line 102
      StackMap locals: int
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.FloatBuffer
            ifeq 8
         7: .line 103
            iload 1 /* pos */
            iconst_4
            imul
            ireturn
         8: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.IntBuffer
            ifeq 10
         9: .line 105
            iload 1 /* pos */
            iconst_4
            imul
            ireturn
        10: .line 106
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.ShortBuffer
            ifeq 12
        11: .line 107
            iload 1 /* pos */
            iconst_2
            imul
            ireturn
        12: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.DoubleBuffer
            ifeq 14
        13: .line 109
            iload 1 /* pos */
            bipush 8
            imul
            ireturn
        14: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.LongBuffer
            ifeq 16
        15: .line 111
            iload 1 /* pos */
            bipush 8
            imul
            ireturn
        16: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.CharBuffer
            ifeq 18
        17: .line 113
            iload 1 /* pos */
            iconst_2
            imul
            ireturn
        end local 1 // int pos
        18: .line 117
      StackMap locals:
      StackMap stack:
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Disallowed array backing store type in buffer "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        19: .line 118
            aload 0 /* buf */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        20: .line 117
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // java.lang.Object buf
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   21     0   buf  Ljava/lang/Object;
            4   18     1   pos  I
    MethodParameters:
      Name  Flags
      buf   

  static java.lang.Object getArray(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // java.lang.Object buf
         0: .line 125
            aload 0 /* buf */
            ifnonnull 2
         1: .line 126
            aconst_null
            areturn
         2: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.ByteBuffer
            ifeq 4
         3: .line 129
            aload 0 /* buf */
            checkcast java.nio.ByteBuffer
            invokevirtual java.nio.ByteBuffer.array:()[B
            areturn
         4: .line 130
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.FloatBuffer
            ifeq 6
         5: .line 131
            aload 0 /* buf */
            checkcast java.nio.FloatBuffer
            invokevirtual java.nio.FloatBuffer.array:()[F
            areturn
         6: .line 132
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.IntBuffer
            ifeq 8
         7: .line 133
            aload 0 /* buf */
            checkcast java.nio.IntBuffer
            invokevirtual java.nio.IntBuffer.array:()[I
            areturn
         8: .line 134
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.ShortBuffer
            ifeq 10
         9: .line 135
            aload 0 /* buf */
            checkcast java.nio.ShortBuffer
            invokevirtual java.nio.ShortBuffer.array:()[S
            areturn
        10: .line 136
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.DoubleBuffer
            ifeq 12
        11: .line 137
            aload 0 /* buf */
            checkcast java.nio.DoubleBuffer
            invokevirtual java.nio.DoubleBuffer.array:()[D
            areturn
        12: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.LongBuffer
            ifeq 14
        13: .line 139
            aload 0 /* buf */
            checkcast java.nio.LongBuffer
            invokevirtual java.nio.LongBuffer.array:()[J
            areturn
        14: .line 140
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.CharBuffer
            ifeq 16
        15: .line 141
            aload 0 /* buf */
            checkcast java.nio.CharBuffer
            invokevirtual java.nio.CharBuffer.array:()[C
            areturn
        16: .line 143
      StackMap locals:
      StackMap stack:
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Disallowed array backing store type in buffer "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        17: .line 144
            aload 0 /* buf */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        18: .line 143
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // java.lang.Object buf
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     0   buf  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      buf   

  static int getIndirectBufferByteOffset(java.lang.Object);
    descriptor: (Ljava/lang/Object;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // java.lang.Object buf
         0: .line 153
            aload 0 /* buf */
            ifnonnull 2
         1: .line 154
            iconst_0
            ireturn
         2: .line 156
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.Buffer
            ifeq 18
         3: .line 157
            aload 0 /* buf */
            checkcast java.nio.Buffer
            invokevirtual java.nio.Buffer.position:()I
            istore 1 /* pos */
        start local 1 // int pos
         4: .line 158
            aload 0 /* buf */
            instanceof java.nio.ByteBuffer
            ifeq 6
         5: .line 159
            aload 0 /* buf */
            checkcast java.nio.ByteBuffer
            invokevirtual java.nio.ByteBuffer.arrayOffset:()I
            iload 1 /* pos */
            iadd
            ireturn
         6: .line 160
      StackMap locals: int
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.FloatBuffer
            ifeq 8
         7: .line 161
            iconst_4
            aload 0 /* buf */
            checkcast java.nio.FloatBuffer
            invokevirtual java.nio.FloatBuffer.arrayOffset:()I
            iload 1 /* pos */
            iadd
            imul
            ireturn
         8: .line 162
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.IntBuffer
            ifeq 10
         9: .line 163
            iconst_4
            aload 0 /* buf */
            checkcast java.nio.IntBuffer
            invokevirtual java.nio.IntBuffer.arrayOffset:()I
            iload 1 /* pos */
            iadd
            imul
            ireturn
        10: .line 164
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.ShortBuffer
            ifeq 12
        11: .line 165
            iconst_2
            aload 0 /* buf */
            checkcast java.nio.ShortBuffer
            invokevirtual java.nio.ShortBuffer.arrayOffset:()I
            iload 1 /* pos */
            iadd
            imul
            ireturn
        12: .line 166
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.DoubleBuffer
            ifeq 14
        13: .line 167
            bipush 8
            aload 0 /* buf */
            checkcast java.nio.DoubleBuffer
            invokevirtual java.nio.DoubleBuffer.arrayOffset:()I
            iload 1 /* pos */
            iadd
            imul
            ireturn
        14: .line 168
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.LongBuffer
            ifeq 16
        15: .line 169
            bipush 8
            aload 0 /* buf */
            checkcast java.nio.LongBuffer
            invokevirtual java.nio.LongBuffer.arrayOffset:()I
            iload 1 /* pos */
            iadd
            imul
            ireturn
        16: .line 170
      StackMap locals:
      StackMap stack:
            aload 0 /* buf */
            instanceof java.nio.CharBuffer
            ifeq 18
        17: .line 171
            iconst_2
            aload 0 /* buf */
            checkcast java.nio.CharBuffer
            invokevirtual java.nio.CharBuffer.arrayOffset:()I
            iload 1 /* pos */
            iadd
            imul
            ireturn
        end local 1 // int pos
        18: .line 174
      StackMap locals:
      StackMap stack:
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unknown buffer type "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* buf */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // java.lang.Object buf
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     0   buf  Ljava/lang/Object;
            4   18     1   pos  I
    MethodParameters:
      Name  Flags
      buf   
}
SourceFile: "BufferFactory.java"