class org.glassfish.grizzly.http2.hpack.Huffman$Node
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.http2.hpack.Huffman$Node
super_class: java.lang.Object
{
org.glassfish.grizzly.http2.hpack.Huffman$Node left;
descriptor: Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
flags: (0x0000)
org.glassfish.grizzly.http2.hpack.Huffman$Node right;
descriptor: Lorg/glassfish/grizzly/http2/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 Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
org.glassfish.grizzly.http2.hpack.Huffman$Node getChild(int);
descriptor: (I)Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
flags: (0x0000)
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http2.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 org.glassfish.grizzly.http2.hpack.Huffman$Node.left:Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield org.glassfish.grizzly.http2.hpack.Huffman$Node.right:Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
StackMap locals:
StackMap stack: org.glassfish.grizzly.http2.hpack.Huffman$Node
4: astore 2
start local 2 5: aload 2
ifnonnull 7
6: new java.lang.IllegalStateException
dup
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
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.glassfish.grizzly.http2.hpack.Huffman$Node
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
0 8 1 selector I
5 8 2 result Lorg/glassfish/grizzly/http2/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 org.glassfish.grizzly.http2.hpack.Huffman$Node.charIsSet:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
char getChar();
descriptor: ()C
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http2.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 org.glassfish.grizzly.http2.hpack.Huffman$Node.c:C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/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 org.glassfish.grizzly.http2.hpack.Huffman$Node.charIsSet:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "This node has been taken already"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.Huffman$Node.left:Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
ifnonnull 3
aload 0
getfield org.glassfish.grizzly.http2.hpack.Huffman$Node.right:Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
ifnull 4
3: 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
4: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.glassfish.grizzly.http2.hpack.Huffman$Node.c:C
5: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Huffman$Node.charIsSet:Z
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
0 7 1 c C
MethodParameters:
Name Flags
c
org.glassfish.grizzly.http2.hpack.Huffman$Node addChildIfAbsent(int);
descriptor: (I)Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http2.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 org.glassfish.grizzly.http2.hpack.Huffman$Node.left:Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
dup
astore 2
start local 2 4: ifnonnull 10
5: aload 0
new org.glassfish.grizzly.http2.hpack.Huffman$Node
dup
invokespecial org.glassfish.grizzly.http2.hpack.Huffman$Node.<init>:()V
dup_x1
putfield org.glassfish.grizzly.http2.hpack.Huffman$Node.left:Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
astore 2
6: goto 10
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.Huffman$Node.right:Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
dup
astore 2
start local 2 8: ifnonnull 10
9: aload 0
new org.glassfish.grizzly.http2.hpack.Huffman$Node
dup
invokespecial org.glassfish.grizzly.http2.hpack.Huffman$Node.<init>:()V
dup_x1
putfield org.glassfish.grizzly.http2.hpack.Huffman$Node.right:Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
astore 2
10: StackMap locals: org.glassfish.grizzly.http2.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 Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
0 11 1 i I
4 7 2 child Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
8 11 2 child Lorg/glassfish/grizzly/http2/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 org.glassfish.grizzly.http2.hpack.Huffman$Node.isLeaf:()Z
ifeq 4
1: aload 0
getfield org.glassfish.grizzly.http2.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 org.glassfish.grizzly.http2.hpack.Huffman$Node.c:C
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http2.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 Lorg/glassfish/grizzly/http2/hpack/Huffman$Node;
}
SourceFile: "Huffman.java"
NestHost: org.glassfish.grizzly.http2.hpack.Huffman
InnerClasses:
Node = org.glassfish.grizzly.http2.hpack.Huffman$Node of org.glassfish.grizzly.http2.hpack.Huffman