public class org.stringtemplate.v4.compiler.StringTable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.stringtemplate.v4.compiler.StringTable
super_class: java.lang.Object
{
protected java.util.LinkedHashMap<java.lang.String, java.lang.Integer> table;
descriptor: Ljava/util/LinkedHashMap;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/LinkedHashMap<Ljava/lang/String;Ljava/lang/Integer;>;
protected int i;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.stringtemplate.v4.compiler.StringTable.table:Ljava/util/LinkedHashMap;
2: aload 0
iconst_m1
putfield org.stringtemplate.v4.compiler.StringTable.i:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/stringtemplate/v4/compiler/StringTable;
public int add(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.stringtemplate.v4.compiler.StringTable.table:Ljava/util/LinkedHashMap;
aload 1
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.Integer.intValue:()I
ireturn
2: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
dup
getfield org.stringtemplate.v4.compiler.StringTable.i:I
iconst_1
iadd
putfield org.stringtemplate.v4.compiler.StringTable.i:I
3: aload 0
getfield org.stringtemplate.v4.compiler.StringTable.table:Ljava/util/LinkedHashMap;
aload 1
aload 0
getfield org.stringtemplate.v4.compiler.StringTable.i:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getfield org.stringtemplate.v4.compiler.StringTable.i:I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/stringtemplate/v4/compiler/StringTable;
0 5 1 s Ljava/lang/String;
1 5 2 I Ljava/lang/Integer;
MethodParameters:
Name Flags
s
public java.lang.String[] toArray();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield org.stringtemplate.v4.compiler.StringTable.table:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.size:()I
anewarray java.lang.String
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield org.stringtemplate.v4.compiler.StringTable.table:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.stringtemplate.v4.compiler.StringTable java.lang.String[] int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 1
iload 2
iinc 2 1
aload 3
aastore
end local 3 StackMap locals:
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/stringtemplate/v4/compiler/StringTable;
1 7 1 a [Ljava/lang/String;
2 7 2 i I
4 5 3 s Ljava/lang/String;
}
SourceFile: "StringTable.java"