class jdk.incubator.http.internal.hpack.Huffman$Node
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.internal.hpack.Huffman$Node
super_class: java.lang.Object
{
jdk.incubator.http.internal.hpack.Huffman$Node left;
descriptor: Ljdk/incubator/http/internal/hpack/Huffman$Node;
flags: (0x0000)
jdk.incubator.http.internal.hpack.Huffman$Node right;
descriptor: Ljdk/incubator/http/internal/hpack/Huffman$Node;
flags: (0x0000)
boolean isEOSPath;
descriptor: Z
flags: (0x0000)
boolean charIsSet;
descriptor: Z
flags: (0x0000)
char c;
descriptor: C
flags: (0x0000)
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/hpack/Huffman$Node;
jdk.incubator.http.internal.hpack.Huffman$Node getChild(int);
descriptor: (I)Ljdk/incubator/http/internal/hpack/Huffman$Node;
flags: (0x0000)
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.incubator.http.internal.hpack.Huffman$Node.isLeaf:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "This is a leaf node"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
ifne 3
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.left:Ljdk/incubator/http/internal/hpack/Huffman$Node;
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.right:Ljdk/incubator/http/internal/hpack/Huffman$Node;
StackMap locals:
StackMap stack: jdk.incubator.http.internal.hpack.Huffman$Node
4: astore 2
start local 2 5: aload 2
ifnonnull 9
6: new java.lang.IllegalStateException
dup
7: ldc "Node doesn't have a child (selector=%s)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: jdk.incubator.http.internal.hpack.Huffman$Node
StackMap stack:
aload 2
areturn
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$Node;
0 10 1 selector I
5 10 2 result Ljdk/incubator/http/internal/hpack/Huffman$Node;
MethodParameters:
Name Flags
selector
boolean isLeaf();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.charIsSet:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/hpack/Huffman$Node;
char getChar();
descriptor: ()C
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.http.internal.hpack.Huffman$Node.isLeaf:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "This node is not a leaf node"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.c:C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/hpack/Huffman$Node;
void setChar(char);
descriptor: (C)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.charIsSet:Z
ifeq 4
1: new java.lang.IllegalStateException
dup
2: ldc "This node has been taken already"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.left:Ljdk/incubator/http/internal/hpack/Huffman$Node;
ifnonnull 5
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.right:Ljdk/incubator/http/internal/hpack/Huffman$Node;
ifnull 6
5: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "The node cannot be made a leaf as it's already has a child"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield jdk.incubator.http.internal.hpack.Huffman$Node.c:C
7: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Huffman$Node.charIsSet:Z
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/internal/hpack/Huffman$Node;
0 9 1 c C
MethodParameters:
Name Flags
c
jdk.incubator.http.internal.hpack.Huffman$Node addChildIfAbsent(int);
descriptor: (I)Ljdk/incubator/http/internal/hpack/Huffman$Node;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.charIsSet:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "The node cannot have a child as it's already a leaf node"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
ifne 7
3: aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.left:Ljdk/incubator/http/internal/hpack/Huffman$Node;
dup
astore 2
start local 2 4: ifnonnull 10
5: aload 0
new jdk.incubator.http.internal.hpack.Huffman$Node
dup
invokespecial jdk.incubator.http.internal.hpack.Huffman$Node.<init>:()V
dup_x1
putfield jdk.incubator.http.internal.hpack.Huffman$Node.left:Ljdk/incubator/http/internal/hpack/Huffman$Node;
astore 2
6: goto 10
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.right:Ljdk/incubator/http/internal/hpack/Huffman$Node;
dup
astore 2
start local 2 8: ifnonnull 10
9: aload 0
new jdk.incubator.http.internal.hpack.Huffman$Node
dup
invokespecial jdk.incubator.http.internal.hpack.Huffman$Node.<init>:()V
dup_x1
putfield jdk.incubator.http.internal.hpack.Huffman$Node.right:Ljdk/incubator/http/internal/hpack/Huffman$Node;
astore 2
10: StackMap locals: jdk.incubator.http.internal.hpack.Huffman$Node
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/incubator/http/internal/hpack/Huffman$Node;
0 11 1 i I
4 7 2 child Ljdk/incubator/http/internal/hpack/Huffman$Node;
8 11 2 child Ljdk/incubator/http/internal/hpack/Huffman$Node;
MethodParameters:
Name Flags
i
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.http.internal.hpack.Huffman$Node.isLeaf:()Z
ifeq 4
1: aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.isEOSPath:Z
ifeq 3
2: ldc "EOS"
areturn
3: StackMap locals:
StackMap stack:
ldc "char: (%3s) '%s'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.c:C
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield jdk.incubator.http.internal.hpack.Huffman$Node.c:C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
ldc "/\\"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/internal/hpack/Huffman$Node;
}
SourceFile: "Huffman.java"
NestHost: jdk.incubator.http.internal.hpack.Huffman
InnerClasses:
Node = jdk.incubator.http.internal.hpack.Huffman$Node of jdk.incubator.http.internal.hpack.Huffman