final class jdk.incubator.http.internal.hpack.Huffman$Writer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.internal.hpack.Huffman$Writer
super_class: java.lang.Object
{
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int avail;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int curr;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int rem;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int code;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.CharSequence source;
descriptor: Ljava/lang/CharSequence;
flags: (0x0002) ACC_PRIVATE
private int end;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 8
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/hpack/Huffman$Writer;
public jdk.incubator.http.internal.hpack.Huffman$Writer from(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)Ljdk/incubator/http/internal/hpack/Huffman$Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iflt 1
iload 3
iflt 1
iload 3
aload 1
invokeinterface java.lang.CharSequence.length:()I
if_icmpgt 1
iload 2
iload 3
if_icmple 6
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
2: ldc "input.length()=%s, start=%s, end=%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
3: aload 1
invokeinterface java.lang.CharSequence.length:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.pos:I
7: aload 0
iload 3
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.end:I
8: aload 0
aload 1
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.source:Ljava/lang/CharSequence;
9: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/http/internal/hpack/Huffman$Writer;
0 10 1 input Ljava/lang/CharSequence;
0 10 2 start I
0 10 3 end I
MethodParameters:
Name Flags
input
start
end
public boolean write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: goto 24
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
ifne 22
2: getstatic jdk.incubator.http.internal.hpack.Huffman.INSTANCE:Ljdk/incubator/http/internal/hpack/Huffman;
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.source:Ljava/lang/CharSequence;
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.pos:I
invokeinterface java.lang.CharSequence.charAt:(I)C
invokevirtual jdk.incubator.http.internal.hpack.Huffman.codeOf:(C)Ljdk/incubator/http/internal/hpack/Huffman$Code;
astore 2
start local 2 3: aload 0
aload 2
getfield jdk.incubator.http.internal.hpack.Huffman$Code.length:I
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
4: aload 0
aload 2
getfield jdk.incubator.http.internal.hpack.Huffman$Code.code:I
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.code:I
end local 2 5: goto 22
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
if_icmpge 11
7: aload 0
dup
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.curr:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.code:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
isub
ishl
ior
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.curr:I
8: aload 0
dup
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
isub
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
9: aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
10: goto 22
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.curr:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.code:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
isub
iushr
ior
istore 2
start local 2 12: aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 15
13: aload 1
iload 2
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
14: goto 16
15: StackMap locals: int
StackMap stack:
iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.curr:I
17: aload 0
dup
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.code:I
bipush 32
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
isub
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
iadd
ishl
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.code:I
18: aload 0
dup
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.code:I
bipush 32
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
isub
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
iadd
iushr
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.code:I
19: aload 0
dup
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
isub
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
20: aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.curr:I
21: aload 0
bipush 8
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
end local 2 22: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.rem:I
ifgt 6
23: aload 0
dup
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.pos:I
iconst_1
iadd
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.pos:I
StackMap locals:
StackMap stack:
24: aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.pos:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.end:I
if_icmplt 1
25: aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
bipush 8
if_icmpge 31
26: aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 30
27: aload 1
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.curr:I
getstatic jdk.incubator.http.internal.hpack.Huffman.INSTANCE:Ljdk/incubator/http/internal/hpack/Huffman;
getfield jdk.incubator.http.internal.hpack.Huffman.EOS:Ljdk/incubator/http/internal/hpack/Huffman$Code;
getfield jdk.incubator.http.internal.hpack.Huffman$Code.code:I
getstatic jdk.incubator.http.internal.hpack.Huffman.INSTANCE:Ljdk/incubator/http/internal/hpack/Huffman;
getfield jdk.incubator.http.internal.hpack.Huffman.EOS:Ljdk/incubator/http/internal/hpack/Huffman$Code;
getfield jdk.incubator.http.internal.hpack.Huffman$Code.length:I
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
isub
iushr
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
28: aload 0
bipush 8
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
29: goto 31
30: StackMap locals:
StackMap stack:
iconst_0
ireturn
31: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljdk/incubator/http/internal/hpack/Huffman$Writer;
0 32 1 destination Ljava/nio/ByteBuffer;
3 5 2 desc Ljdk/incubator/http/internal/hpack/Huffman$Code;
12 22 2 c I
MethodParameters:
Name Flags
destination
public jdk.incubator.http.internal.hpack.Huffman$Writer reset();
descriptor: ()Ljdk/incubator/http/internal/hpack/Huffman$Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.source:Ljava/lang/CharSequence;
1: aload 0
iconst_m1
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.end:I
2: aload 0
iconst_m1
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.pos:I
3: aload 0
bipush 8
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.avail:I
4: aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.curr:I
5: aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.Huffman$Writer.code:I
6: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/internal/hpack/Huffman$Writer;
}
SourceFile: "Huffman.java"
NestHost: jdk.incubator.http.internal.hpack.Huffman
InnerClasses:
private final Code = jdk.incubator.http.internal.hpack.Huffman$Code of jdk.incubator.http.internal.hpack.Huffman
final Writer = jdk.incubator.http.internal.hpack.Huffman$Writer of jdk.incubator.http.internal.hpack.Huffman