final class org.glassfish.grizzly.http2.hpack.IntegerReader
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.glassfish.grizzly.http2.hpack.IntegerReader
  super_class: java.lang.Object
{
  private static final byte NEW;
    descriptor: B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  private static final byte CONFIGURED;
    descriptor: B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final byte FIRST_BYTE_READ;
    descriptor: B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private static final byte DONE;
    descriptor: B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  private byte state;
    descriptor: B
    flags: (0x0002) ACC_PRIVATE

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

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

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

  private long r;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private long b;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
         0: .line 25
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 32
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
         2: .line 38
            aload 0 /* this */
            lconst_1
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.b:J
         3: .line 25
            return
        end local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/glassfish/grizzly/http2/hpack/IntegerReader;

  public org.glassfish.grizzly.http2.hpack.IntegerReader configure(int);
    descriptor: (I)Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
        start local 1 // int N
         0: .line 41
            aload 0 /* this */
            iload 1 /* N */
            ldc 2147483647
            invokevirtual org.glassfish.grizzly.http2.hpack.IntegerReader.configure:(II)Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
            areturn
        end local 1 // int N
        end local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
            0    1     1     N  I
    MethodParameters:
      Name  Flags
      N     

  public org.glassfish.grizzly.http2.hpack.IntegerReader configure(int, int);
    descriptor: (II)Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
        start local 1 // int N
        start local 2 // int maxValue
         0: .line 55
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
            ifeq 2
         1: .line 56
            new java.lang.IllegalStateException
            dup
            ldc "Already configured"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 58
      StackMap locals:
      StackMap stack:
            iload 1 /* N */
            invokestatic org.glassfish.grizzly.http2.hpack.IntegerReader.checkPrefix:(I)V
         3: .line 59
            iload 2 /* maxValue */
            ifge 5
         4: .line 60
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "maxValue >= 0: maxValue="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* maxValue */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 62
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* maxValue */
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.maxValue:I
         6: .line 63
            aload 0 /* this */
            iload 1 /* N */
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.N:I
         7: .line 64
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
         8: .line 65
            aload 0 /* this */
            areturn
        end local 2 // int maxValue
        end local 1 // int N
        end local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    9     0      this  Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
            0    9     1         N  I
            0    9     2  maxValue  I
    MethodParameters:
          Name  Flags
      N         
      maxValue  

  public boolean read(org.glassfish.grizzly.Buffer);
    descriptor: (Lorg/glassfish/grizzly/Buffer;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=10, locals=5, args_size=2
        start local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
        start local 1 // org.glassfish.grizzly.Buffer input
         0: .line 69
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
            ifne 2
         1: .line 70
            new java.lang.IllegalStateException
            dup
            ldc "Configure first"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 72
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
            iconst_4
            if_icmpne 4
         3: .line 73
            iconst_1
            ireturn
         4: .line 75
      StackMap locals:
      StackMap stack:
            aload 1 /* input */
            invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
            ifne 6
         5: .line 76
            iconst_0
            ireturn
         6: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
            iconst_1
            if_icmpne 15
         7: .line 79
            iconst_2
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.N:I
            iconst_1
            isub
            ishl
            iconst_1
            isub
            istore 2 /* max */
        start local 2 // int max
         8: .line 80
            aload 1 /* input */
            invokeinterface org.glassfish.grizzly.Buffer.get:()B
            iload 2 /* max */
            iand
            istore 3 /* n */
        start local 3 // int n
         9: .line 81
            iload 3 /* n */
            iload 2 /* max */
            if_icmpeq 13
        10: .line 82
            aload 0 /* this */
            iload 3 /* n */
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.value:I
        11: .line 83
            aload 0 /* this */
            iconst_4
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
        12: .line 84
            iconst_1
            ireturn
        13: .line 86
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            iload 2 /* max */
            i2l
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
        14: .line 88
            aload 0 /* this */
            iconst_2
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
        end local 3 // int n
        end local 2 // int max
        15: .line 90
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
            iconst_2
            if_icmpne 28
        16: .line 94
      StackMap locals:
      StackMap stack:
            aload 1 /* input */
            invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
            ifne 18
        17: .line 95
            iconst_0
            ireturn
        18: .line 97
      StackMap locals:
      StackMap stack:
            aload 1 /* input */
            invokeinterface org.glassfish.grizzly.Buffer.get:()B
            istore 2 /* i */
        start local 2 // byte i
        19: .line 98
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.b:J
            iload 2 /* i */
            bipush 127
            iand
            i2l
            lmul
            lstore 3 /* increment */
        start local 3 // long increment
        20: .line 99
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
            lload 3 /* increment */
            ladd
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.maxValue:I
            i2l
            lcmp
            ifle 22
        21: .line 100
            new java.lang.IllegalArgumentException
            dup
            ldc "Integer overflow: maxValue=%,d, value=%,d"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.maxValue:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
            lload 3 /* increment */
            ladd
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        22: .line 102
      StackMap locals: int long
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
            lload 3 /* increment */
            ladd
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
        23: .line 103
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.b:J
            ldc 128
            lmul
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.b:J
        end local 3 // long increment
        24: .line 104
            sipush 128
            iload 2 /* i */
            iand
            sipush 128
            if_icmpeq 16
        25: .line 106
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
            l2i
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.value:I
        26: .line 107
            aload 0 /* this */
            iconst_4
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
        27: .line 108
            iconst_1
            ireturn
        end local 2 // byte i
        28: .line 110
      StackMap locals:
      StackMap stack:
            new java.lang.InternalError
            dup
            bipush 6
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
            invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.N:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.maxValue:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.value:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_5
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.b:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // org.glassfish.grizzly.Buffer input
        end local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   29     0       this  Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
            0   29     1      input  Lorg/glassfish/grizzly/Buffer;
            8   15     2        max  I
            9   15     3          n  I
           19   28     2          i  B
           20   24     3  increment  J
    MethodParameters:
       Name  Flags
      input  

  public int get();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
         0: .line 114
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
            iconst_4
            if_icmpeq 2
         1: .line 115
            new java.lang.IllegalStateException
            dup
            ldc "Has not been fully read yet"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 117
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.hpack.IntegerReader.value:I
            ireturn
        end local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
    Exceptions:
      throws java.lang.IllegalStateException

  private static void checkPrefix(int);
    descriptor: (I)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // int N
         0: .line 121
            iload 0 /* N */
            iconst_1
            if_icmplt 1
            iload 0 /* N */
            bipush 8
            if_icmple 2
         1: .line 122
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "1 <= N <= 8: N= "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 0 /* N */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 124
      StackMap locals:
      StackMap stack:
            return
        end local 0 // int N
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     N  I
    MethodParameters:
      Name  Flags
      N     

  public org.glassfish.grizzly.http2.hpack.IntegerReader reset();
    descriptor: ()Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
         0: .line 127
            aload 0 /* this */
            lconst_1
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.b:J
         1: .line 128
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
         2: .line 129
            aload 0 /* this */
            areturn
        end local 0 // org.glassfish.grizzly.http2.hpack.IntegerReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
}
SourceFile: "IntegerReader.java"