public final class com.ctc.wstx.util.BijectiveNsMap
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.util.BijectiveNsMap
super_class: java.lang.Object
{
static final int DEFAULT_ARRAY_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
private static final int MAX_LOOP_FOR_NEW_PREFIX;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 999999
final int mScopeStart;
descriptor: I
flags: (0x0010) ACC_FINAL
java.lang.String[] mNsStrings;
descriptor: [Ljava/lang/String;
flags: (0x0000)
int mScopeEnd;
descriptor: I
flags: (0x0000)
private void <init>(int, java.lang.String[]);
descriptor: (I[Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
iload 1
dup_x1
putfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
putfield com.ctc.wstx.util.BijectiveNsMap.mScopeStart:I
2: aload 0
aload 2
putfield com.ctc.wstx.util.BijectiveNsMap.mNsStrings:[Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
0 4 1 scopeStart I
0 4 2 strs [Ljava/lang/String;
MethodParameters:
Name Flags
scopeStart
strs
public static com.ctc.wstx.util.BijectiveNsMap createEmpty();
descriptor: ()Lcom/ctc/wstx/util/BijectiveNsMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: bipush 32
anewarray java.lang.String
astore 0
start local 0 1: aload 0
iconst_0
ldc "xml"
aastore
2: aload 0
iconst_1
ldc "http://www.w3.org/XML/1998/namespace"
aastore
3: aload 0
iconst_2
ldc "xmlns"
aastore
4: aload 0
iconst_3
ldc "http://www.w3.org/2000/xmlns/"
aastore
5: new com.ctc.wstx.util.BijectiveNsMap
dup
iconst_4
aload 0
invokespecial com.ctc.wstx.util.BijectiveNsMap.<init>:(I[Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 strs [Ljava/lang/String;
public com.ctc.wstx.util.BijectiveNsMap createChild();
descriptor: ()Lcom/ctc/wstx/util/BijectiveNsMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.ctc.wstx.util.BijectiveNsMap
dup
aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mNsStrings:[Ljava/lang/String;
invokespecial com.ctc.wstx.util.BijectiveNsMap.<init>:(I[Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
public java.lang.String findUriByPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mNsStrings:[Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual java.lang.String.hashCode:()I
istore 3
start local 3 2: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
iconst_2
isub
istore 4
start local 4 3: goto 9
4: StackMap locals: java.lang.String[] int int
StackMap stack:
aload 2
iload 4
aaload
astore 5
start local 5 5: aload 5
aload 1
if_acmpeq 7
6: aload 5
invokevirtual java.lang.String.hashCode:()I
iload 3
if_icmpne 8
aload 5
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: StackMap locals: java.lang.String
StackMap stack:
aload 2
iload 4
iconst_1
iadd
aaload
areturn
end local 5 8: StackMap locals:
StackMap stack:
iinc 4 -2
StackMap locals:
StackMap stack:
9: iload 4
ifge 4
end local 4 10: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
0 11 1 prefix Ljava/lang/String;
1 11 2 strs [Ljava/lang/String;
2 11 3 phash I
3 10 4 ix I
5 8 5 thisP Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public java.lang.String findPrefixByUri(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mNsStrings:[Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual java.lang.String.hashCode:()I
istore 3
start local 3 2: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
iconst_1
isub
istore 4
start local 4 3: goto 21
4: StackMap locals: java.lang.String[] int int
StackMap stack:
aload 2
iload 4
aaload
astore 5
start local 5 5: aload 5
aload 1
if_acmpeq 7
6: aload 5
invokevirtual java.lang.String.hashCode:()I
iload 3
if_icmpne 20
aload 5
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
7: StackMap locals: java.lang.String
StackMap stack:
aload 2
iload 4
iconst_1
isub
aaload
astore 6
start local 6 8: iload 4
aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeStart:I
if_icmpge 19
9: aload 6
invokevirtual java.lang.String.hashCode:()I
istore 7
start local 7 10: iload 4
iconst_1
iadd
istore 8
start local 8 11: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
istore 9
start local 9 12: goto 18
13: StackMap locals: com.ctc.wstx.util.BijectiveNsMap java.lang.String java.lang.String[] int int java.lang.String java.lang.String int int int
StackMap stack:
aload 2
iload 8
aaload
astore 10
start local 10 14: aload 10
aload 6
if_acmpeq 20
15: aload 10
invokevirtual java.lang.String.hashCode:()I
iload 7
if_icmpne 17
aload 10
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
16: goto 20
end local 10 17: StackMap locals:
StackMap stack:
iinc 8 2
StackMap locals:
StackMap stack:
18: iload 8
iload 9
if_icmplt 13
end local 9 end local 8 end local 7 19: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 20: StackMap locals:
StackMap stack:
iinc 4 -2
StackMap locals:
StackMap stack:
21: iload 4
ifgt 4
end local 4 22: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
0 23 1 uri Ljava/lang/String;
1 23 2 strs [Ljava/lang/String;
2 23 3 uhash I
3 22 4 ix I
5 20 5 thisU Ljava/lang/String;
8 20 6 prefix Ljava/lang/String;
10 19 7 phash I
11 19 8 j I
12 19 9 end I
14 17 10 thisP Ljava/lang/String;
MethodParameters:
Name Flags
uri
public java.util.List<java.lang.String> getPrefixesBoundToUri(java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mNsStrings:[Ljava/lang/String;
astore 3
start local 3 1: aload 1
invokevirtual java.lang.String.hashCode:()I
istore 4
start local 4 2: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
iconst_1
isub
istore 5
start local 5 3: goto 23
4: StackMap locals: java.lang.String[] int int
StackMap stack:
aload 3
iload 5
aaload
astore 6
start local 6 5: aload 6
aload 1
if_acmpeq 7
6: aload 6
invokevirtual java.lang.String.hashCode:()I
iload 4
if_icmpne 22
aload 6
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
7: StackMap locals: java.lang.String
StackMap stack:
aload 3
iload 5
iconst_1
isub
aaload
astore 7
start local 7 8: iload 5
aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeStart:I
if_icmpge 19
9: aload 7
invokevirtual java.lang.String.hashCode:()I
istore 8
start local 8 10: iload 5
iconst_1
iadd
istore 9
start local 9 11: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
istore 10
start local 10 12: goto 18
13: StackMap locals: com.ctc.wstx.util.BijectiveNsMap java.lang.String java.util.List java.lang.String[] int int java.lang.String java.lang.String int int int
StackMap stack:
aload 3
iload 9
aaload
astore 11
start local 11 14: aload 11
aload 7
if_acmpeq 22
15: aload 11
invokevirtual java.lang.String.hashCode:()I
iload 8
if_icmpne 17
aload 11
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
16: goto 22
end local 11 17: StackMap locals:
StackMap stack:
iinc 9 2
StackMap locals:
StackMap stack:
18: iload 9
iload 10
if_icmplt 13
end local 10 end local 9 end local 8 19: StackMap locals:
StackMap stack:
aload 2
ifnonnull 21
20: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
21: StackMap locals:
StackMap stack:
aload 2
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 22: StackMap locals:
StackMap stack:
iinc 5 -2
StackMap locals:
StackMap stack:
23: iload 5
ifgt 4
end local 5 24: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
0 25 1 uri Ljava/lang/String;
0 25 2 l Ljava/util/List<Ljava/lang/String;>;
1 25 3 strs [Ljava/lang/String;
2 25 4 uhash I
3 24 5 ix I
5 22 6 thisU Ljava/lang/String;
8 22 7 prefix Ljava/lang/String;
10 19 8 phash I
11 19 9 j I
12 19 10 end I
14 17 11 thisP Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
uri
l
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
iconst_1
ishr
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
public int localSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeStart:I
isub
iconst_1
ishr
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
public java.lang.String addMapping(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mNsStrings:[Ljava/lang/String;
astore 3
start local 3 1: aload 1
invokevirtual java.lang.String.hashCode:()I
istore 4
start local 4 2: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeStart:I
istore 5
start local 5 3: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
istore 6
start local 6 4: goto 12
5: StackMap locals: com.ctc.wstx.util.BijectiveNsMap java.lang.String java.lang.String java.lang.String[] int int int
StackMap stack:
aload 3
iload 5
aaload
astore 7
start local 7 6: aload 7
aload 1
if_acmpeq 8
7: aload 7
invokevirtual java.lang.String.hashCode:()I
iload 4
if_icmpne 11
aload 7
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
8: StackMap locals: java.lang.String
StackMap stack:
aload 3
iload 5
iconst_1
iadd
aaload
astore 8
start local 8 9: aload 3
iload 5
iconst_1
iadd
aload 2
aastore
10: aload 8
areturn
end local 8 end local 7 11: StackMap locals:
StackMap stack:
iinc 5 2
StackMap locals:
StackMap stack:
12: iload 5
iload 6
if_icmplt 5
end local 6 end local 5 13: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
aload 3
arraylength
if_icmplt 16
14: aload 3
aload 3
arraylength
invokestatic com.ctc.wstx.util.DataUtil.growArrayBy:([Ljava/lang/String;I)[Ljava/lang/String;
astore 3
15: aload 0
aload 3
putfield com.ctc.wstx.util.BijectiveNsMap.mNsStrings:[Ljava/lang/String;
16: StackMap locals:
StackMap stack:
aload 3
aload 0
dup
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
dup_x1
iconst_1
iadd
putfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
aload 1
aastore
17: aload 3
aload 0
dup
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
dup_x1
iconst_1
iadd
putfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
aload 2
aastore
18: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
0 19 1 prefix Ljava/lang/String;
0 19 2 uri Ljava/lang/String;
1 19 3 strs [Ljava/lang/String;
2 19 4 phash I
3 13 5 ix I
4 13 6 end I
6 11 7 thisP Ljava/lang/String;
9 11 8 old Ljava/lang/String;
MethodParameters:
Name Flags
prefix
uri
public java.lang.String addGeneratedMapping(java.lang.String, javax.xml.namespace.NamespaceContext, java.lang.String, int[]);
descriptor: (Ljava/lang/String;Ljavax/xml/namespace/NamespaceContext;Ljava/lang/String;[I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mNsStrings:[Ljava/lang/String;
astore 5
start local 5 1: aload 4
iconst_0
iaload
istore 6
start local 6 2: iconst_0
istore 8
start local 8 3: StackMap locals: com.ctc.wstx.util.BijectiveNsMap java.lang.String javax.xml.namespace.NamespaceContext java.lang.String int[] java.lang.String[] int top int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 7
start local 7 4: iinc 6 1
5: aload 7
invokevirtual java.lang.String.hashCode:()I
istore 9
start local 9 6: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
iconst_2
isub
istore 10
start local 10 7: goto 13
8: StackMap locals: com.ctc.wstx.util.BijectiveNsMap java.lang.String javax.xml.namespace.NamespaceContext java.lang.String int[] java.lang.String[] int java.lang.String int int int
StackMap stack:
aload 5
iload 10
aaload
astore 11
start local 11 9: aload 11
aload 7
if_acmpeq 3
10: aload 11
invokevirtual java.lang.String.hashCode:()I
iload 9
if_icmpne 12
aload 11
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: goto 3
end local 11 12: StackMap locals:
StackMap stack:
iinc 10 -2
StackMap locals:
StackMap stack:
13: iload 10
ifge 8
end local 10 14: aload 2
ifnull 18
15: aload 2
aload 7
invokeinterface javax.xml.namespace.NamespaceContext.getNamespaceURI:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 16: aload 10
ifnull 18
aload 10
invokevirtual java.lang.String.isEmpty:()Z
ifne 18
17: goto 3
end local 10 18: StackMap locals:
StackMap stack:
iinc 8 1
iload 8
ldc 999999
if_icmple 22
19: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Internal error: failed to find a mapping prefix for URI '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc 999999
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " attempts"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 9 22: StackMap locals:
StackMap stack:
aload 4
iconst_0
iload 6
iastore
23: aload 0
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
aload 5
arraylength
if_icmplt 26
24: aload 5
aload 5
arraylength
invokestatic com.ctc.wstx.util.DataUtil.growArrayBy:([Ljava/lang/String;I)[Ljava/lang/String;
astore 5
25: aload 0
aload 5
putfield com.ctc.wstx.util.BijectiveNsMap.mNsStrings:[Ljava/lang/String;
26: StackMap locals:
StackMap stack:
aload 5
aload 0
dup
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
dup_x1
iconst_1
iadd
putfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
aload 7
aastore
27: aload 5
aload 0
dup
getfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
dup_x1
iconst_1
iadd
putfield com.ctc.wstx.util.BijectiveNsMap.mScopeEnd:I
aload 3
aastore
28: aload 7
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
0 29 1 prefixBase Ljava/lang/String;
0 29 2 ctxt Ljavax/xml/namespace/NamespaceContext;
0 29 3 uri Ljava/lang/String;
0 29 4 seqArr [I
1 29 5 strs [Ljava/lang/String;
2 29 6 seqNr I
4 29 7 prefix Ljava/lang/String;
3 29 8 attempts I
6 22 9 phash I
7 14 10 ix I
9 12 11 thisP Ljava/lang/String;
16 18 10 existing Ljava/lang/String;
MethodParameters:
Name Flags
prefixBase
ctxt
uri
seqArr
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.ctc.wstx.util.BijectiveNsMap.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " entries; of which "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokevirtual com.ctc.wstx.util.BijectiveNsMap.localSize:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " local]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/util/BijectiveNsMap;
}
SourceFile: "BijectiveNsMap.java"