final class org.graalvm.graphio.GraphProtocol$ConstantPool extends java.util.LinkedHashMap<java.lang.Object, java.lang.Character>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.graphio.GraphProtocol$ConstantPool
super_class: java.util.LinkedHashMap
{
private final java.util.LinkedList<java.lang.Character> availableIds;
descriptor: Ljava/util/LinkedList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/LinkedList<Ljava/lang/Character;>;
private char nextId;
descriptor: C
flags: (0x0002) ACC_PRIVATE
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2676889957907285681
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 50
ldc 0.65
invokespecial java.util.LinkedHashMap.<init>:(IF)V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield org.graalvm.graphio.GraphProtocol$ConstantPool.availableIds:Ljava/util/LinkedList;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
protected boolean removeEldestEntry(java.util.Map$Entry<java.lang.Object, java.lang.Character>);
descriptor: (Ljava/util/Map$Entry;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol$ConstantPool.size:()I
sipush 8000
if_icmple 3
1: aload 0
getfield org.graalvm.graphio.GraphProtocol$ConstantPool.availableIds:Ljava/util/LinkedList;
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Character
invokevirtual java.util.LinkedList.addFirst:(Ljava/lang/Object;)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
0 4 1 eldest Ljava/util/Map$Entry<Ljava/lang/Object;Ljava/lang/Character;>;
Signature: (Ljava/util/Map$Entry<Ljava/lang/Object;Ljava/lang/Character;>;)Z
MethodParameters:
Name Flags
eldest
private java.lang.Character nextAvailableId();
descriptor: ()Ljava/lang/Character;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.graphio.GraphProtocol$ConstantPool.availableIds:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ifne 2
1: aload 0
getfield org.graalvm.graphio.GraphProtocol$ConstantPool.availableIds:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
checkcast java.lang.Character
areturn
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.graalvm.graphio.GraphProtocol$ConstantPool.nextId:C
dup_x1
iconst_1
iadd
i2c
putfield org.graalvm.graphio.GraphProtocol$ConstantPool.nextId:C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
public char add(java.lang.Object);
descriptor: (Ljava/lang/Object;)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol$ConstantPool.nextAvailableId:()Ljava/lang/Character;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual org.graalvm.graphio.GraphProtocol$ConstantPool.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokevirtual java.lang.Character.charValue:()C
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
0 3 1 obj Ljava/lang/Object;
1 3 2 id Ljava/lang/Character;
MethodParameters:
Name Flags
obj
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.graphio.GraphProtocol$ConstantPool.clear:()V
1: aload 0
getfield org.graalvm.graphio.GraphProtocol$ConstantPool.availableIds:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.clear:()V
2: aload 0
iconst_0
putfield org.graalvm.graphio.GraphProtocol$ConstantPool.nextId:C
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/graphio/GraphProtocol$ConstantPool;
}
Signature: Ljava/util/LinkedHashMap<Ljava/lang/Object;Ljava/lang/Character;>;
SourceFile: "GraphProtocol.java"
NestHost: org.graalvm.graphio.GraphProtocol
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private final ConstantPool = org.graalvm.graphio.GraphProtocol$ConstantPool of org.graalvm.graphio.GraphProtocol