public final class com.ctc.wstx.util.InternCache extends java.util.LinkedHashMap<java.lang.String, java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.util.InternCache
super_class: java.util.LinkedHashMap
{
private static final int DEFAULT_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final int MAX_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 660
private static final com.ctc.wstx.util.InternCache sInstance;
descriptor: Lcom/ctc/wstx/util/InternCache;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.ctc.wstx.util.InternCache
dup
invokespecial com.ctc.wstx.util.InternCache.<init>:()V
putstatic com.ctc.wstx.util.InternCache.sInstance:Lcom/ctc/wstx/util/InternCache;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
bipush 64
ldc 0.6666
iconst_0
invokespecial java.util.LinkedHashMap.<init>:(IFZ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/util/InternCache;
public static com.ctc.wstx.util.InternCache getInstance();
descriptor: ()Lcom/ctc/wstx/util/InternCache;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.ctc.wstx.util.InternCache.sInstance:Lcom/ctc/wstx/util/InternCache;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String intern(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
aload 1
invokevirtual com.ctc.wstx.util.InternCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 3
monitorexit
3: goto 6
end local 2 StackMap locals: com.ctc.wstx.util.InternCache java.lang.String top com.ctc.wstx.util.InternCache
StackMap stack: java.lang.Throwable
4: aload 3
monitorexit
5: athrow
start local 2 6: StackMap locals: com.ctc.wstx.util.InternCache java.lang.String java.lang.String
StackMap stack:
aload 2
ifnonnull 14
7: aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 2
8: aload 0
dup
astore 3
monitorenter
9: aload 0
aload 2
aload 2
invokevirtual com.ctc.wstx.util.InternCache.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 3
monitorexit
11: goto 14
StackMap locals: com.ctc.wstx.util.InternCache java.lang.String java.lang.String com.ctc.wstx.util.InternCache
StackMap stack: java.lang.Throwable
12: aload 3
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/ctc/wstx/util/InternCache;
0 15 1 input Ljava/lang/String;
2 4 2 result Ljava/lang/String;
6 15 2 result Ljava/lang/String;
Exception table:
from to target type
1 3 4 any
4 5 4 any
9 11 12 any
12 13 12 any
MethodParameters:
Name Flags
input
protected boolean removeEldestEntry(java.util.Map$Entry<java.lang.String, java.lang.String>);
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 com.ctc.wstx.util.InternCache.size:()I
sipush 660
if_icmple 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/util/InternCache;
0 2 1 eldest Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
eldest
}
Signature: Ljava/util/LinkedHashMap<Ljava/lang/String;Ljava/lang/String;>;
SourceFile: "InternCache.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map