public class com.sun.org.apache.xml.internal.dtm.ref.DTMSafeStringPool extends com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.dtm.ref.DTMSafeStringPool
super_class: com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/dtm/ref/DTMSafeStringPool;
public synchronized void removeAllElements();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool.removeAllElements:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/dtm/ref/DTMSafeStringPool;
public synchronized java.lang.String indexToString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool.indexToString:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/dtm/ref/DTMSafeStringPool;
0 1 1 i I
Exceptions:
throws java.lang.ArrayIndexOutOfBoundsException
MethodParameters:
Name Flags
i
public synchronized int stringToIndex(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool.stringToIndex:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/dtm/ref/DTMSafeStringPool;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public static void _main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: bipush 40
anewarray java.lang.String
dup
iconst_0
1: ldc "Zero"
aastore
dup
iconst_1
ldc "One"
aastore
dup
iconst_2
ldc "Two"
aastore
dup
iconst_3
ldc "Three"
aastore
dup
iconst_4
ldc "Four"
aastore
dup
iconst_5
ldc "Five"
aastore
dup
bipush 6
2: ldc "Six"
aastore
dup
bipush 7
ldc "Seven"
aastore
dup
bipush 8
ldc "Eight"
aastore
dup
bipush 9
ldc "Nine"
aastore
dup
bipush 10
ldc "Ten"
aastore
dup
bipush 11
3: ldc "Eleven"
aastore
dup
bipush 12
ldc "Twelve"
aastore
dup
bipush 13
ldc "Thirteen"
aastore
dup
bipush 14
ldc "Fourteen"
aastore
dup
bipush 15
ldc "Fifteen"
aastore
dup
bipush 16
4: ldc "Sixteen"
aastore
dup
bipush 17
ldc "Seventeen"
aastore
dup
bipush 18
ldc "Eighteen"
aastore
dup
bipush 19
ldc "Nineteen"
aastore
dup
bipush 20
ldc "Twenty"
aastore
dup
bipush 21
5: ldc "Twenty-One"
aastore
dup
bipush 22
ldc "Twenty-Two"
aastore
dup
bipush 23
ldc "Twenty-Three"
aastore
dup
bipush 24
ldc "Twenty-Four"
aastore
dup
bipush 25
6: ldc "Twenty-Five"
aastore
dup
bipush 26
ldc "Twenty-Six"
aastore
dup
bipush 27
ldc "Twenty-Seven"
aastore
dup
bipush 28
ldc "Twenty-Eight"
aastore
dup
bipush 29
7: ldc "Twenty-Nine"
aastore
dup
bipush 30
ldc "Thirty"
aastore
dup
bipush 31
ldc "Thirty-One"
aastore
dup
bipush 32
ldc "Thirty-Two"
aastore
dup
bipush 33
8: ldc "Thirty-Three"
aastore
dup
bipush 34
ldc "Thirty-Four"
aastore
dup
bipush 35
ldc "Thirty-Five"
aastore
dup
bipush 36
ldc "Thirty-Six"
aastore
dup
bipush 37
9: ldc "Thirty-Seven"
aastore
dup
bipush 38
ldc "Thirty-Eight"
aastore
dup
bipush 39
ldc "Thirty-Nine"
aastore
10: astore 1
start local 1 11: new com.sun.org.apache.xml.internal.dtm.ref.DTMSafeStringPool
dup
invokespecial com.sun.org.apache.xml.internal.dtm.ref.DTMSafeStringPool.<init>:()V
astore 2
start local 2 12: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "If no complaints are printed below, we passed initial test."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: iconst_0
istore 3
start local 3 14: goto 43
15: StackMap locals: java.lang.String[] com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool int
StackMap stack:
iconst_0
istore 4
start local 4 16: goto 23
17: StackMap locals: int
StackMap stack:
aload 2
aload 1
iload 4
aaload
invokevirtual com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool.stringToIndex:(Ljava/lang/String;)I
istore 5
start local 5 18: iload 5
iload 4
if_icmpeq 22
19: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\tMismatch populating pool: assigned "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " for create "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 22: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
23: iload 4
aload 1
arraylength
if_icmplt 17
24: iconst_0
istore 4
goto 31
25: StackMap locals:
StackMap stack:
aload 2
aload 1
iload 4
aaload
invokevirtual com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool.stringToIndex:(Ljava/lang/String;)I
istore 5
start local 5 26: iload 5
iload 4
if_icmpeq 30
27: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\tMismatch in stringToIndex: returned "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
28: iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " for lookup "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
29: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 30: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
31: iload 4
aload 1
arraylength
if_icmplt 25
32: iconst_0
istore 4
goto 39
33: StackMap locals:
StackMap stack:
aload 2
iload 4
invokevirtual com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool.indexToString:(I)Ljava/lang/String;
astore 5
start local 5 34: aload 1
iload 4
aaload
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
35: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\tMismatch in indexToString: returned"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
36: aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " for lookup "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
37: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 38: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
39: iload 4
aload 1
arraylength
if_icmplt 33
40: aload 2
invokevirtual com.sun.org.apache.xml.internal.dtm.ref.DTMStringPool.removeAllElements:()V
41: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\nPass "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " complete\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 4 42: iinc 3 1
StackMap locals:
StackMap stack:
43: iload 3
iconst_1
if_icmple 15
end local 3 44: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 args [Ljava/lang/String;
11 45 1 word [Ljava/lang/String;
12 45 2 pool Lcom/sun/org/apache/xml/internal/dtm/ref/DTMStringPool;
14 44 3 pass I
16 42 4 i I
18 22 5 j I
26 30 5 j I
34 38 5 w Ljava/lang/String;
MethodParameters:
Name Flags
args
}
SourceFile: "DTMSafeStringPool.java"