public final class com.ctc.wstx.util.ElementIdMap
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.util.ElementIdMap
super_class: java.lang.Object
{
protected static final int DEFAULT_SIZE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 128
protected static final int MIN_SIZE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 16
protected static final int FILL_PCT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 80
protected com.ctc.wstx.util.ElementId[] mTable;
descriptor: [Lcom/ctc/wstx/util/ElementId;
flags: (0x0004) ACC_PROTECTED
protected int mSize;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mSizeThreshold;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mIndexMask;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected com.ctc.wstx.util.ElementId mHead;
descriptor: Lcom/ctc/wstx/util/ElementId;
flags: (0x0004) ACC_PROTECTED
protected com.ctc.wstx.util.ElementId mTail;
descriptor: Lcom/ctc/wstx/util/ElementId;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
sipush 128
invokespecial com.ctc.wstx.util.ElementIdMap.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/util/ElementIdMap;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: bipush 16
istore 2
start local 2 2: goto 4
3: StackMap locals: com.ctc.wstx.util.ElementIdMap int int
StackMap stack:
iload 2
iload 2
iadd
istore 2
4: StackMap locals:
StackMap stack:
iload 2
iload 1
if_icmplt 3
5: aload 0
iload 2
anewarray com.ctc.wstx.util.ElementId
putfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
6: aload 0
iload 2
iconst_1
isub
putfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
7: aload 0
iconst_0
putfield com.ctc.wstx.util.ElementIdMap.mSize:I
8: aload 0
iload 2
bipush 80
imul
bipush 100
idiv
putfield com.ctc.wstx.util.ElementIdMap.mSizeThreshold:I
9: aload 0
aload 0
aconst_null
dup_x1
putfield com.ctc.wstx.util.ElementIdMap.mTail:Lcom/ctc/wstx/util/ElementId;
putfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/ctc/wstx/util/ElementIdMap;
0 11 1 initialSize I
2 11 2 actual I
MethodParameters:
Name Flags
initialSize
public com.ctc.wstx.util.ElementId getFirstUndefined();
descriptor: ()Lcom/ctc/wstx/util/ElementId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/ElementIdMap;
public com.ctc.wstx.util.ElementId addReferenced(char[], int, int, int, javax.xml.stream.Location, com.ctc.wstx.util.PrefixedName, com.ctc.wstx.util.PrefixedName);
descriptor: ([CIIILjavax/xml/stream/Location;Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/util/PrefixedName;)Lcom/ctc/wstx/util/ElementId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 4
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
iand
istore 8
start local 8 1: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 8
aaload
astore 9
start local 9 2: goto 6
3: StackMap locals: int com.ctc.wstx.util.ElementId
StackMap stack:
aload 9
aload 1
iload 2
iload 3
invokevirtual com.ctc.wstx.util.ElementId.idMatches:([CII)Z
ifeq 5
4: aload 9
areturn
5: StackMap locals:
StackMap stack:
aload 9
invokevirtual com.ctc.wstx.util.ElementId.nextColliding:()Lcom/ctc/wstx/util/ElementId;
astore 9
6: StackMap locals:
StackMap stack:
aload 9
ifnonnull 3
7: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSizeThreshold:I
if_icmplt 10
8: aload 0
invokevirtual com.ctc.wstx.util.ElementIdMap.rehash:()V
9: iload 4
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
iand
istore 8
10: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
iconst_1
iadd
putfield com.ctc.wstx.util.ElementIdMap.mSize:I
11: new java.lang.String
dup
aload 1
iload 2
iload 3
invokespecial java.lang.String.<init>:([CII)V
astore 10
start local 10 12: new com.ctc.wstx.util.ElementId
dup
aload 10
aload 5
iconst_0
aload 6
aload 7
invokespecial com.ctc.wstx.util.ElementId.<init>:(Ljava/lang/String;Ljavax/xml/stream/Location;ZLcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/util/PrefixedName;)V
astore 9
13: aload 9
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 8
aaload
invokevirtual com.ctc.wstx.util.ElementId.setNextColliding:(Lcom/ctc/wstx/util/ElementId;)V
14: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 8
aload 9
aastore
15: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
ifnonnull 18
16: aload 0
aload 0
aload 9
dup_x1
putfield com.ctc.wstx.util.ElementIdMap.mTail:Lcom/ctc/wstx/util/ElementId;
putfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
17: goto 20
18: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTail:Lcom/ctc/wstx/util/ElementId;
aload 9
invokevirtual com.ctc.wstx.util.ElementId.linkUndefined:(Lcom/ctc/wstx/util/ElementId;)V
19: aload 0
aload 9
putfield com.ctc.wstx.util.ElementIdMap.mTail:Lcom/ctc/wstx/util/ElementId;
20: StackMap locals:
StackMap stack:
aload 9
areturn
end local 10 end local 9 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 21 0 this Lcom/ctc/wstx/util/ElementIdMap;
0 21 1 buffer [C
0 21 2 start I
0 21 3 len I
0 21 4 hash I
0 21 5 loc Ljavax/xml/stream/Location;
0 21 6 elemName Lcom/ctc/wstx/util/PrefixedName;
0 21 7 attrName Lcom/ctc/wstx/util/PrefixedName;
1 21 8 index I
2 21 9 id Lcom/ctc/wstx/util/ElementId;
12 21 10 idStr Ljava/lang/String;
MethodParameters:
Name Flags
buffer
start
len
hash
loc
elemName
attrName
public com.ctc.wstx.util.ElementId addReferenced(java.lang.String, javax.xml.stream.Location, com.ctc.wstx.util.PrefixedName, com.ctc.wstx.util.PrefixedName);
descriptor: (Ljava/lang/String;Ljavax/xml/stream/Location;Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/util/PrefixedName;)Lcom/ctc/wstx/util/ElementId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic com.ctc.wstx.util.ElementIdMap.calcHash:(Ljava/lang/String;)I
istore 5
start local 5 1: iload 5
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
iand
istore 6
start local 6 2: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 6
aaload
astore 7
start local 7 3: goto 7
4: StackMap locals: int int com.ctc.wstx.util.ElementId
StackMap stack:
aload 7
aload 1
invokevirtual com.ctc.wstx.util.ElementId.idMatches:(Ljava/lang/String;)Z
ifeq 6
5: aload 7
areturn
6: StackMap locals:
StackMap stack:
aload 7
invokevirtual com.ctc.wstx.util.ElementId.nextColliding:()Lcom/ctc/wstx/util/ElementId;
astore 7
7: StackMap locals:
StackMap stack:
aload 7
ifnonnull 4
8: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSizeThreshold:I
if_icmplt 11
9: aload 0
invokevirtual com.ctc.wstx.util.ElementIdMap.rehash:()V
10: iload 5
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
iand
istore 6
11: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
iconst_1
iadd
putfield com.ctc.wstx.util.ElementIdMap.mSize:I
12: new com.ctc.wstx.util.ElementId
dup
aload 1
aload 2
iconst_0
aload 3
aload 4
invokespecial com.ctc.wstx.util.ElementId.<init>:(Ljava/lang/String;Ljavax/xml/stream/Location;ZLcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/util/PrefixedName;)V
astore 7
13: aload 7
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 6
aaload
invokevirtual com.ctc.wstx.util.ElementId.setNextColliding:(Lcom/ctc/wstx/util/ElementId;)V
14: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 6
aload 7
aastore
15: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
ifnonnull 18
16: aload 0
aload 0
aload 7
dup_x1
putfield com.ctc.wstx.util.ElementIdMap.mTail:Lcom/ctc/wstx/util/ElementId;
putfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
17: goto 20
18: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTail:Lcom/ctc/wstx/util/ElementId;
aload 7
invokevirtual com.ctc.wstx.util.ElementId.linkUndefined:(Lcom/ctc/wstx/util/ElementId;)V
19: aload 0
aload 7
putfield com.ctc.wstx.util.ElementIdMap.mTail:Lcom/ctc/wstx/util/ElementId;
20: StackMap locals:
StackMap stack:
aload 7
areturn
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 21 0 this Lcom/ctc/wstx/util/ElementIdMap;
0 21 1 idStr Ljava/lang/String;
0 21 2 loc Ljavax/xml/stream/Location;
0 21 3 elemName Lcom/ctc/wstx/util/PrefixedName;
0 21 4 attrName Lcom/ctc/wstx/util/PrefixedName;
1 21 5 hash I
2 21 6 index I
3 21 7 id Lcom/ctc/wstx/util/ElementId;
MethodParameters:
Name Flags
idStr
loc
elemName
attrName
public com.ctc.wstx.util.ElementId addDefined(char[], int, int, int, javax.xml.stream.Location, com.ctc.wstx.util.PrefixedName, com.ctc.wstx.util.PrefixedName);
descriptor: ([CIIILjavax/xml/stream/Location;Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/util/PrefixedName;)Lcom/ctc/wstx/util/ElementId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 4
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
iand
istore 8
start local 8 1: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 8
aaload
astore 9
start local 9 2: goto 6
3: StackMap locals: int com.ctc.wstx.util.ElementId
StackMap stack:
aload 9
aload 1
iload 2
iload 3
invokevirtual com.ctc.wstx.util.ElementId.idMatches:([CII)Z
ifeq 5
4: goto 7
5: StackMap locals:
StackMap stack:
aload 9
invokevirtual com.ctc.wstx.util.ElementId.nextColliding:()Lcom/ctc/wstx/util/ElementId;
astore 9
6: StackMap locals:
StackMap stack:
aload 9
ifnonnull 3
7: StackMap locals:
StackMap stack:
aload 9
ifnonnull 17
8: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSizeThreshold:I
if_icmplt 11
9: aload 0
invokevirtual com.ctc.wstx.util.ElementIdMap.rehash:()V
10: iload 4
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
iand
istore 8
11: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
iconst_1
iadd
putfield com.ctc.wstx.util.ElementIdMap.mSize:I
12: new java.lang.String
dup
aload 1
iload 2
iload 3
invokespecial java.lang.String.<init>:([CII)V
astore 10
start local 10 13: new com.ctc.wstx.util.ElementId
dup
aload 10
aload 5
iconst_1
aload 6
aload 7
invokespecial com.ctc.wstx.util.ElementId.<init>:(Ljava/lang/String;Ljavax/xml/stream/Location;ZLcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/util/PrefixedName;)V
astore 9
14: aload 9
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 8
aaload
invokevirtual com.ctc.wstx.util.ElementId.setNextColliding:(Lcom/ctc/wstx/util/ElementId;)V
15: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 8
aload 9
aastore
end local 10 16: goto 25
17: StackMap locals:
StackMap stack:
aload 9
invokevirtual com.ctc.wstx.util.ElementId.isDefined:()Z
ifeq 19
18: goto 25
19: StackMap locals:
StackMap stack:
aload 9
aload 5
invokevirtual com.ctc.wstx.util.ElementId.markDefined:(Ljavax/xml/stream/Location;)V
20: aload 9
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
if_acmpne 25
21: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
invokevirtual com.ctc.wstx.util.ElementId.nextUndefined:()Lcom/ctc/wstx/util/ElementId;
putfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
22: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
ifnull 23
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
invokevirtual com.ctc.wstx.util.ElementId.isDefined:()Z
ifne 21
23: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
ifnonnull 25
24: aload 0
aconst_null
putfield com.ctc.wstx.util.ElementIdMap.mTail:Lcom/ctc/wstx/util/ElementId;
25: StackMap locals:
StackMap stack:
aload 9
areturn
end local 9 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 26 0 this Lcom/ctc/wstx/util/ElementIdMap;
0 26 1 buffer [C
0 26 2 start I
0 26 3 len I
0 26 4 hash I
0 26 5 loc Ljavax/xml/stream/Location;
0 26 6 elemName Lcom/ctc/wstx/util/PrefixedName;
0 26 7 attrName Lcom/ctc/wstx/util/PrefixedName;
1 26 8 index I
2 26 9 id Lcom/ctc/wstx/util/ElementId;
13 16 10 idStr Ljava/lang/String;
MethodParameters:
Name Flags
buffer
start
len
hash
loc
elemName
attrName
public com.ctc.wstx.util.ElementId addDefined(java.lang.String, javax.xml.stream.Location, com.ctc.wstx.util.PrefixedName, com.ctc.wstx.util.PrefixedName);
descriptor: (Ljava/lang/String;Ljavax/xml/stream/Location;Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/util/PrefixedName;)Lcom/ctc/wstx/util/ElementId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic com.ctc.wstx.util.ElementIdMap.calcHash:(Ljava/lang/String;)I
istore 5
start local 5 1: iload 5
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
iand
istore 6
start local 6 2: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 6
aaload
astore 7
start local 7 3: goto 7
4: StackMap locals: int int com.ctc.wstx.util.ElementId
StackMap stack:
aload 7
aload 1
invokevirtual com.ctc.wstx.util.ElementId.idMatches:(Ljava/lang/String;)Z
ifeq 6
5: goto 8
6: StackMap locals:
StackMap stack:
aload 7
invokevirtual com.ctc.wstx.util.ElementId.nextColliding:()Lcom/ctc/wstx/util/ElementId;
astore 7
7: StackMap locals:
StackMap stack:
aload 7
ifnonnull 4
8: StackMap locals:
StackMap stack:
aload 7
ifnonnull 17
9: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSizeThreshold:I
if_icmplt 12
10: aload 0
invokevirtual com.ctc.wstx.util.ElementIdMap.rehash:()V
11: iload 5
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
iand
istore 6
12: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
iconst_1
iadd
putfield com.ctc.wstx.util.ElementIdMap.mSize:I
13: new com.ctc.wstx.util.ElementId
dup
aload 1
aload 2
iconst_1
aload 3
aload 4
invokespecial com.ctc.wstx.util.ElementId.<init>:(Ljava/lang/String;Ljavax/xml/stream/Location;ZLcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/util/PrefixedName;)V
astore 7
14: aload 7
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 6
aaload
invokevirtual com.ctc.wstx.util.ElementId.setNextColliding:(Lcom/ctc/wstx/util/ElementId;)V
15: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 6
aload 7
aastore
16: goto 25
17: StackMap locals:
StackMap stack:
aload 7
invokevirtual com.ctc.wstx.util.ElementId.isDefined:()Z
ifeq 19
18: goto 25
19: StackMap locals:
StackMap stack:
aload 7
aload 2
invokevirtual com.ctc.wstx.util.ElementId.markDefined:(Ljavax/xml/stream/Location;)V
20: aload 7
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
if_acmpne 25
21: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
invokevirtual com.ctc.wstx.util.ElementId.nextUndefined:()Lcom/ctc/wstx/util/ElementId;
putfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
22: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
ifnull 23
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
invokevirtual com.ctc.wstx.util.ElementId.isDefined:()Z
ifne 21
23: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mHead:Lcom/ctc/wstx/util/ElementId;
ifnonnull 25
24: aload 0
aconst_null
putfield com.ctc.wstx.util.ElementIdMap.mTail:Lcom/ctc/wstx/util/ElementId;
25: StackMap locals:
StackMap stack:
aload 7
areturn
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 26 0 this Lcom/ctc/wstx/util/ElementIdMap;
0 26 1 idStr Ljava/lang/String;
0 26 2 loc Ljavax/xml/stream/Location;
0 26 3 elemName Lcom/ctc/wstx/util/PrefixedName;
0 26 4 attrName Lcom/ctc/wstx/util/PrefixedName;
1 26 5 hash I
2 26 6 index I
3 26 7 id Lcom/ctc/wstx/util/ElementId;
MethodParameters:
Name Flags
idStr
loc
elemName
attrName
public static int calcHash(char[], int, int);
descriptor: ([CII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
caload
istore 3
start local 3 1: iconst_1
istore 4
start local 4 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 3
bipush 31
imul
aload 0
iload 1
iload 4
iadd
caload
iadd
istore 3
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 2
if_icmplt 3
end local 4 6: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buffer [C
0 7 1 start I
0 7 2 len I
1 7 3 hash I
2 6 4 i I
MethodParameters:
Name Flags
buffer
start
len
public static int calcHash(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 1
start local 1 1: iconst_1
istore 2
start local 2 2: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 3: goto 6
4: StackMap locals: int int int
StackMap stack:
iload 1
bipush 31
imul
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
iadd
istore 1
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 3
if_icmplt 4
end local 3 end local 2 7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 key Ljava/lang/String;
1 8 1 hash I
2 7 2 i I
3 7 3 len I
MethodParameters:
Name Flags
key
private void rehash();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
arraylength
istore 1
start local 1 1: iload 1
iconst_2
ishl
istore 2
start local 2 2: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
astore 3
start local 3 3: aload 0
iload 2
anewarray com.ctc.wstx.util.ElementId
putfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
4: aload 0
iload 2
iconst_1
isub
putfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
5: aload 0
dup
getfield com.ctc.wstx.util.ElementIdMap.mSizeThreshold:I
iconst_2
ishl
putfield com.ctc.wstx.util.ElementIdMap.mSizeThreshold:I
6: iconst_0
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 19
9: StackMap locals: com.ctc.wstx.util.ElementIdMap int int com.ctc.wstx.util.ElementId[] int int
StackMap stack:
aload 3
iload 5
aaload
astore 6
start local 6 10: goto 17
11: StackMap locals: com.ctc.wstx.util.ElementId
StackMap stack:
iinc 4 1
12: aload 6
invokevirtual com.ctc.wstx.util.ElementId.getId:()Ljava/lang/String;
invokestatic com.ctc.wstx.util.ElementIdMap.calcHash:(Ljava/lang/String;)I
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mIndexMask:I
iand
istore 7
start local 7 13: aload 6
invokevirtual com.ctc.wstx.util.ElementId.nextColliding:()Lcom/ctc/wstx/util/ElementId;
astore 8
start local 8 14: aload 6
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 7
aaload
invokevirtual com.ctc.wstx.util.ElementId.setNextColliding:(Lcom/ctc/wstx/util/ElementId;)V
15: aload 0
getfield com.ctc.wstx.util.ElementIdMap.mTable:[Lcom/ctc/wstx/util/ElementId;
iload 7
aload 6
aastore
16: aload 8
astore 6
end local 8 end local 7 17: StackMap locals:
StackMap stack:
aload 6
ifnonnull 11
end local 6 18: iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
iload 1
if_icmplt 9
end local 5 20: iload 4
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
if_icmpeq 22
21: new java.lang.StringBuilder
dup
ldc "on rehash(): had "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.util.ElementIdMap.mSize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " entries; now have "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.ctc.wstx.util.ExceptionUtil.throwInternal:(Ljava/lang/String;)V
22: StackMap locals:
StackMap stack:
return
end local 4 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/ElementIdMap;
1 23 1 size I
2 23 2 newSize I
3 23 3 oldSyms [Lcom/ctc/wstx/util/ElementId;
7 23 4 count I
8 20 5 i I
10 18 6 id Lcom/ctc/wstx/util/ElementId;
13 17 7 index I
14 17 8 nextIn Lcom/ctc/wstx/util/ElementId;
}
SourceFile: "ElementIdMap.java"