public final class com.ctc.wstx.dtd.DFAState
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.dtd.DFAState
super_class: java.lang.Object
{
final int mIndex;
descriptor: I
flags: (0x0010) ACC_FINAL
final boolean mAccepting;
descriptor: Z
flags: (0x0010) ACC_FINAL
java.util.BitSet mTokenSet;
descriptor: Ljava/util/BitSet;
flags: (0x0000)
java.util.HashMap<com.ctc.wstx.util.PrefixedName, com.ctc.wstx.dtd.DFAState> mNext;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/dtd/DFAState;>;
public void <init>(int, java.util.BitSet);
descriptor: (ILjava/util/BitSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.ctc.wstx.dtd.DFAState.mNext:Ljava/util/HashMap;
2: aload 0
iload 1
putfield com.ctc.wstx.dtd.DFAState.mIndex:I
3: aload 0
aload 2
iconst_0
invokevirtual java.util.BitSet.get:(I)Z
putfield com.ctc.wstx.dtd.DFAState.mAccepting:Z
4: aload 0
aload 2
putfield com.ctc.wstx.dtd.DFAState.mTokenSet:Ljava/util/BitSet;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/dtd/DFAState;
0 6 1 index I
0 6 2 tokenSet Ljava/util/BitSet;
MethodParameters:
Name Flags
index
tokenSet
public static com.ctc.wstx.dtd.DFAState constructDFA(com.ctc.wstx.dtd.ContentSpec);
descriptor: (Lcom/ctc/wstx/dtd/ContentSpec;)Lcom/ctc/wstx/dtd/DFAState;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=14, args_size=1
start local 0 0: aload 0
invokevirtual com.ctc.wstx.dtd.ContentSpec.rewrite:()Lcom/ctc/wstx/dtd/ModelNode;
astore 1
start local 1 1: invokestatic com.ctc.wstx.dtd.TokenModel.getNullToken:()Lcom/ctc/wstx/dtd/TokenModel;
astore 2
start local 2 2: new com.ctc.wstx.dtd.ConcatModel
dup
aload 1
aload 2
invokespecial com.ctc.wstx.dtd.ConcatModel.<init>:(Lcom/ctc/wstx/dtd/ModelNode;Lcom/ctc/wstx/dtd/ModelNode;)V
astore 3
start local 3 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 4: aload 4
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
5: aload 3
aload 4
invokevirtual com.ctc.wstx.dtd.ConcatModel.indexTokens:(Ljava/util/List;)V
6: aload 4
invokevirtual java.util.ArrayList.size:()I
istore 5
start local 5 7: iload 5
anewarray java.util.BitSet
astore 6
start local 6 8: iload 5
anewarray com.ctc.wstx.util.PrefixedName
astore 7
start local 7 9: iconst_0
istore 8
start local 8 10: goto 14
11: StackMap locals: com.ctc.wstx.dtd.ContentSpec com.ctc.wstx.dtd.ModelNode com.ctc.wstx.dtd.TokenModel com.ctc.wstx.dtd.ConcatModel java.util.ArrayList int java.util.BitSet[] com.ctc.wstx.util.PrefixedName[] int
StackMap stack:
aload 6
iload 8
new java.util.BitSet
dup
iload 5
invokespecial java.util.BitSet.<init>:(I)V
aastore
12: aload 7
iload 8
aload 4
iload 8
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast com.ctc.wstx.dtd.TokenModel
invokevirtual com.ctc.wstx.dtd.TokenModel.getName:()Lcom/ctc/wstx/util/PrefixedName;
aastore
13: iinc 8 1
StackMap locals:
StackMap stack:
14: iload 8
iload 5
if_icmplt 11
end local 8 15: aload 3
aload 6
invokevirtual com.ctc.wstx.dtd.ConcatModel.calcFollowPos:([Ljava/util/BitSet;)V
16: new java.util.BitSet
dup
iload 5
invokespecial java.util.BitSet.<init>:(I)V
astore 8
start local 8 17: aload 3
aload 8
invokevirtual com.ctc.wstx.dtd.ConcatModel.addFirstPos:(Ljava/util/BitSet;)V
18: new com.ctc.wstx.dtd.DFAState
dup
iconst_0
aload 8
invokespecial com.ctc.wstx.dtd.DFAState.<init>:(ILjava/util/BitSet;)V
astore 9
start local 9 19: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 10
start local 10 20: aload 10
aload 9
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
21: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 11
start local 11 22: aload 11
aload 8
aload 9
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: iconst_0
istore 12
start local 12 24: goto 27
25: StackMap locals: com.ctc.wstx.dtd.ContentSpec com.ctc.wstx.dtd.ModelNode com.ctc.wstx.dtd.TokenModel com.ctc.wstx.dtd.ConcatModel java.util.ArrayList int java.util.BitSet[] com.ctc.wstx.util.PrefixedName[] java.util.BitSet com.ctc.wstx.dtd.DFAState java.util.ArrayList java.util.HashMap int
StackMap stack:
aload 10
iload 12
iinc 12 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast com.ctc.wstx.dtd.DFAState
astore 13
start local 13 26: aload 13
aload 7
aload 6
aload 10
aload 11
invokevirtual com.ctc.wstx.dtd.DFAState.calcNext:([Lcom/ctc/wstx/util/PrefixedName;[Ljava/util/BitSet;Ljava/util/List;Ljava/util/Map;)V
end local 13 27: StackMap locals:
StackMap stack:
iload 12
aload 10
invokevirtual java.util.ArrayList.size:()I
if_icmplt 25
28: aload 9
areturn
end local 12 end local 11 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 29 0 rootSpec Lcom/ctc/wstx/dtd/ContentSpec;
1 29 1 modelRoot Lcom/ctc/wstx/dtd/ModelNode;
2 29 2 eofToken Lcom/ctc/wstx/dtd/TokenModel;
3 29 3 dummyRoot Lcom/ctc/wstx/dtd/ConcatModel;
4 29 4 tokens Ljava/util/ArrayList<Lcom/ctc/wstx/dtd/TokenModel;>;
7 29 5 flen I
8 29 6 followPos [Ljava/util/BitSet;
9 29 7 tokenNames [Lcom/ctc/wstx/util/PrefixedName;
10 15 8 i I
17 29 8 initial Ljava/util/BitSet;
19 29 9 firstState Lcom/ctc/wstx/dtd/DFAState;
20 29 10 stateList Ljava/util/ArrayList<Lcom/ctc/wstx/dtd/DFAState;>;
22 29 11 stateMap Ljava/util/HashMap<Ljava/util/BitSet;Lcom/ctc/wstx/dtd/DFAState;>;
24 29 12 i I
26 27 13 curr Lcom/ctc/wstx/dtd/DFAState;
MethodParameters:
Name Flags
rootSpec
public boolean isAcceptingState();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.dtd.DFAState.mAccepting:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/dtd/DFAState;
public int getIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.dtd.DFAState.mIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/dtd/DFAState;
public com.ctc.wstx.dtd.DFAState findNext(com.ctc.wstx.util.PrefixedName);
descriptor: (Lcom/ctc/wstx/util/PrefixedName;)Lcom/ctc/wstx/dtd/DFAState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.dtd.DFAState.mNext:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.ctc.wstx.dtd.DFAState
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/dtd/DFAState;
0 1 1 elemName Lcom/ctc/wstx/util/PrefixedName;
MethodParameters:
Name Flags
elemName
public java.util.TreeSet<com.ctc.wstx.util.PrefixedName> getNextNames();
descriptor: ()Ljava/util/TreeSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.ctc.wstx.dtd.DFAState.mNext:Ljava/util/HashMap;
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.ctc.wstx.dtd.DFAState java.util.TreeSet top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.ctc.wstx.util.PrefixedName
astore 2
start local 2 3: aload 1
aload 2
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/dtd/DFAState;
1 6 1 names Ljava/util/TreeSet<Lcom/ctc/wstx/util/PrefixedName;>;
3 4 2 n Lcom/ctc/wstx/util/PrefixedName;
Signature: ()Ljava/util/TreeSet<Lcom/ctc/wstx/util/PrefixedName;>;
public void calcNext(com.ctc.wstx.util.PrefixedName[], java.util.BitSet[], java.util.List<com.ctc.wstx.dtd.DFAState>, java.util.Map<java.util.BitSet, com.ctc.wstx.dtd.DFAState>);
descriptor: ([Lcom/ctc/wstx/util/PrefixedName;[Ljava/util/BitSet;Ljava/util/List;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_m1
istore 5
start local 5 1: aload 0
getfield com.ctc.wstx.dtd.DFAState.mTokenSet:Ljava/util/BitSet;
invokevirtual java.util.BitSet.clone:()Ljava/lang/Object;
checkcast java.util.BitSet
astore 6
start local 6 2: aload 0
aconst_null
putfield com.ctc.wstx.dtd.DFAState.mTokenSet:Ljava/util/BitSet;
3: goto 20
4: StackMap locals: int java.util.BitSet
StackMap stack:
aload 1
iload 5
aaload
astore 7
start local 7 5: aload 7
ifnonnull 7
6: goto 20
7: StackMap locals: com.ctc.wstx.util.PrefixedName
StackMap stack:
aload 2
iload 5
aaload
invokevirtual java.util.BitSet.clone:()Ljava/lang/Object;
checkcast java.util.BitSet
astore 8
start local 8 8: iload 5
istore 9
start local 9 9: goto 13
10: StackMap locals: java.util.BitSet int
StackMap stack:
aload 1
iload 9
aaload
aload 7
if_acmpne 13
11: aload 6
iload 9
invokevirtual java.util.BitSet.clear:(I)V
12: aload 8
aload 2
iload 9
aaload
invokevirtual java.util.BitSet.or:(Ljava/util/BitSet;)V
13: StackMap locals:
StackMap stack:
aload 6
iload 9
iconst_1
iadd
invokevirtual java.util.BitSet.nextSetBit:(I)I
dup
istore 9
ifgt 10
14: aload 4
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.ctc.wstx.dtd.DFAState
astore 10
start local 10 15: aload 10
ifnonnull 19
16: new com.ctc.wstx.dtd.DFAState
dup
aload 3
invokeinterface java.util.List.size:()I
aload 8
invokespecial com.ctc.wstx.dtd.DFAState.<init>:(ILjava/util/BitSet;)V
astore 10
17: aload 3
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: aload 4
aload 8
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: StackMap locals: com.ctc.wstx.dtd.DFAState
StackMap stack:
aload 0
getfield com.ctc.wstx.dtd.DFAState.mNext:Ljava/util/HashMap;
aload 7
aload 10
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 9 end local 8 end local 7 20: StackMap locals: com.ctc.wstx.dtd.DFAState com.ctc.wstx.util.PrefixedName[] java.util.BitSet[] java.util.List java.util.Map int java.util.BitSet
StackMap stack:
aload 6
iload 5
iconst_1
iadd
invokevirtual java.util.BitSet.nextSetBit:(I)I
dup
istore 5
ifge 4
21: return
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 22 0 this Lcom/ctc/wstx/dtd/DFAState;
0 22 1 tokenNames [Lcom/ctc/wstx/util/PrefixedName;
0 22 2 tokenFPs [Ljava/util/BitSet;
0 22 3 stateList Ljava/util/List<Lcom/ctc/wstx/dtd/DFAState;>;
0 22 4 stateMap Ljava/util/Map<Ljava/util/BitSet;Lcom/ctc/wstx/dtd/DFAState;>;
1 22 5 first I
2 22 6 tokenSet Ljava/util/BitSet;
5 20 7 tokenName Lcom/ctc/wstx/util/PrefixedName;
8 20 8 nextGroup Ljava/util/BitSet;
9 20 9 second I
15 20 10 next Lcom/ctc/wstx/dtd/DFAState;
Signature: ([Lcom/ctc/wstx/util/PrefixedName;[Ljava/util/BitSet;Ljava/util/List<Lcom/ctc/wstx/dtd/DFAState;>;Ljava/util/Map<Ljava/util/BitSet;Lcom/ctc/wstx/dtd/DFAState;>;)V
MethodParameters:
Name Flags
tokenNames
tokenFPs
stateList
stateMap
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
new java.lang.StringBuilder
dup
ldc "State #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.dtd.DFAState.mIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ":\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
new java.lang.StringBuilder
dup
ldc " Accepting: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.dtd.DFAState.mAccepting:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc "\n Next states:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield com.ctc.wstx.dtd.DFAState.mNext:Ljava/util/HashMap;
invokevirtual java.util.HashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: com.ctc.wstx.dtd.DFAState java.lang.StringBuilder top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 6: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc " -> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.ctc.wstx.dtd.DFAState
astore 4
start local 4 9: aload 1
aload 4
invokevirtual com.ctc.wstx.dtd.DFAState.getIndex:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
10: aload 1
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 end local 2 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/ctc/wstx/dtd/DFAState;
1 13 1 sb Ljava/lang/StringBuilder;
6 11 2 en Ljava/util/Map$Entry<Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/dtd/DFAState;>;
9 11 4 next Lcom/ctc/wstx/dtd/DFAState;
}
SourceFile: "DFAState.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map