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 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
2: aload 0
lconst_1
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.b:J
3: return
end local 0 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 start local 1 0: aload 0
iload 1
ldc 2147483647
invokevirtual org.glassfish.grizzly.http2.hpack.IntegerReader.configure:(II)Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
areturn
end local 1 end local 0 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 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Already configured"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
invokestatic org.glassfish.grizzly.http2.hpack.IntegerReader.checkPrefix:(I)V
3: iload 2
ifge 5
4: 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
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: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.maxValue:I
6: aload 0
iload 1
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.N:I
7: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
8: aload 0
areturn
end local 2 end local 1 end local 0 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 start local 1 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Configure first"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
iconst_4
if_icmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
iconst_1
if_icmpne 15
7: iconst_2
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.N:I
iconst_1
isub
ishl
iconst_1
isub
istore 2
start local 2 8: aload 1
invokeinterface org.glassfish.grizzly.Buffer.get:()B
iload 2
iand
istore 3
start local 3 9: iload 3
iload 2
if_icmpeq 13
10: aload 0
iload 3
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.value:I
11: aload 0
iconst_4
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
12: iconst_1
ireturn
13: StackMap locals: int int
StackMap stack:
aload 0
iload 2
i2l
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
14: aload 0
iconst_2
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
end local 3 end local 2 15: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
iconst_2
if_icmpne 28
16: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 18
17: iconst_0
ireturn
18: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.get:()B
istore 2
start local 2 19: aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.b:J
iload 2
bipush 127
iand
i2l
lmul
lstore 3
start local 3 20: aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
lload 3
ladd
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.maxValue:I
i2l
lcmp
ifle 22
21: new java.lang.IllegalArgumentException
dup
ldc "Integer overflow: maxValue=%,d, value=%,d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.maxValue:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
lload 3
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: StackMap locals: int long
StackMap stack:
aload 0
dup
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
lload 3
ladd
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
23: aload 0
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 24: sipush 128
iload 2
iand
sipush 128
if_icmpeq 16
25: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
l2i
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.value:I
26: aload 0
iconst_4
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
27: iconst_1
ireturn
end local 2 28: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
bipush 6
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.N:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.maxValue:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.value:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.r:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_5
aload 0
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 end local 0 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 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
iconst_4
if_icmpeq 2
1: new java.lang.IllegalStateException
dup
ldc "Has not been fully read yet"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.IntegerReader.value:I
ireturn
end local 0 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 0: iload 0
iconst_1
if_icmplt 1
iload 0
bipush 8
if_icmple 2
1: 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
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: StackMap locals:
StackMap stack:
return
end local 0 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 0: aload 0
lconst_1
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.b:J
1: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.hpack.IntegerReader.state:B
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/hpack/IntegerReader;
}
SourceFile: "IntegerReader.java"