public class com.ctc.wstx.dtd.ChoiceContentSpec extends com.ctc.wstx.dtd.ContentSpec
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.ctc.wstx.dtd.ChoiceContentSpec
super_class: com.ctc.wstx.dtd.ContentSpec
{
final boolean mNsAware;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean mHasMixed;
descriptor: Z
flags: (0x0010) ACC_FINAL
final com.ctc.wstx.dtd.ContentSpec[] mContentSpecs;
descriptor: [Lcom/ctc/wstx/dtd/ContentSpec;
flags: (0x0010) ACC_FINAL
private void <init>(boolean, char, boolean, com.ctc.wstx.dtd.ContentSpec[]);
descriptor: (ZCZ[Lcom/ctc/wstx/dtd/ContentSpec;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 2
invokespecial com.ctc.wstx.dtd.ContentSpec.<init>:(C)V
1: aload 0
iload 1
putfield com.ctc.wstx.dtd.ChoiceContentSpec.mNsAware:Z
2: aload 0
iload 3
putfield com.ctc.wstx.dtd.ChoiceContentSpec.mHasMixed:Z
3: aload 0
aload 4
putfield com.ctc.wstx.dtd.ChoiceContentSpec.mContentSpecs:[Lcom/ctc/wstx/dtd/ContentSpec;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/dtd/ChoiceContentSpec;
0 5 1 nsAware Z
0 5 2 arity C
0 5 3 mixed Z
0 5 4 specs [Lcom/ctc/wstx/dtd/ContentSpec;
MethodParameters:
Name Flags
nsAware
arity
mixed
specs
private void <init>(boolean, char, boolean, java.util.Collection<com.ctc.wstx.dtd.ContentSpec>);
descriptor: (ZCZLjava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 2
invokespecial com.ctc.wstx.dtd.ContentSpec.<init>:(C)V
1: aload 0
iload 1
putfield com.ctc.wstx.dtd.ChoiceContentSpec.mNsAware:Z
2: aload 0
iload 3
putfield com.ctc.wstx.dtd.ChoiceContentSpec.mHasMixed:Z
3: aload 0
aload 4
invokeinterface java.util.Collection.size:()I
anewarray com.ctc.wstx.dtd.ContentSpec
putfield com.ctc.wstx.dtd.ChoiceContentSpec.mContentSpecs:[Lcom/ctc/wstx/dtd/ContentSpec;
4: aload 4
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mContentSpecs:[Lcom/ctc/wstx/dtd/ContentSpec;
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/dtd/ChoiceContentSpec;
0 6 1 nsAware Z
0 6 2 arity C
0 6 3 mixed Z
0 6 4 specs Ljava/util/Collection<Lcom/ctc/wstx/dtd/ContentSpec;>;
Signature: (ZCZLjava/util/Collection<Lcom/ctc/wstx/dtd/ContentSpec;>;)V
MethodParameters:
Name Flags
nsAware
arity
mixed
specs
public static com.ctc.wstx.dtd.ChoiceContentSpec constructChoice(boolean, char, java.util.Collection<com.ctc.wstx.dtd.ContentSpec>);
descriptor: (ZCLjava/util/Collection;)Lcom/ctc/wstx/dtd/ChoiceContentSpec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.ctc.wstx.dtd.ChoiceContentSpec
dup
iload 0
iload 1
iconst_0
aload 2
invokespecial com.ctc.wstx.dtd.ChoiceContentSpec.<init>:(ZCZLjava/util/Collection;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 nsAware Z
0 1 1 arity C
0 1 2 specs Ljava/util/Collection<Lcom/ctc/wstx/dtd/ContentSpec;>;
Signature: (ZCLjava/util/Collection<Lcom/ctc/wstx/dtd/ContentSpec;>;)Lcom/ctc/wstx/dtd/ChoiceContentSpec;
MethodParameters:
Name Flags
nsAware
arity
specs
public static com.ctc.wstx.dtd.ChoiceContentSpec constructMixed(boolean, java.util.Collection<com.ctc.wstx.dtd.ContentSpec>);
descriptor: (ZLjava/util/Collection;)Lcom/ctc/wstx/dtd/ChoiceContentSpec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new com.ctc.wstx.dtd.ChoiceContentSpec
dup
iload 0
bipush 42
iconst_1
aload 1
invokespecial com.ctc.wstx.dtd.ChoiceContentSpec.<init>:(ZCZLjava/util/Collection;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 nsAware Z
0 1 1 specs Ljava/util/Collection<Lcom/ctc/wstx/dtd/ContentSpec;>;
Signature: (ZLjava/util/Collection<Lcom/ctc/wstx/dtd/ContentSpec;>;)Lcom/ctc/wstx/dtd/ChoiceContentSpec;
MethodParameters:
Name Flags
nsAware
specs
public com.ctc.wstx.dtd.StructValidator getSimpleValidator();
descriptor: ()Lcom/ctc/wstx/dtd/StructValidator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mContentSpecs:[Lcom/ctc/wstx/dtd/ContentSpec;
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mHasMixed:Z
ifeq 5
3: iload 2
istore 3
start local 3 4: goto 11
end local 3 5: StackMap locals: com.ctc.wstx.dtd.ContentSpec[] int
StackMap stack:
iconst_0
istore 3
start local 3 6: goto 10
7: StackMap locals: int
StackMap stack:
aload 1
iload 3
aaload
invokevirtual com.ctc.wstx.dtd.ContentSpec.isLeaf:()Z
ifne 9
8: goto 11
9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 2
if_icmplt 7
11: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpne 14
12: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mNsAware:Z
aload 1
invokestatic com.ctc.wstx.dtd.ChoiceContentSpec.namesetFromSpecs:(Z[Lcom/ctc/wstx/dtd/ContentSpec;)Lcom/ctc/wstx/dtd/PrefixedNameSet;
astore 4
start local 4 13: new com.ctc.wstx.dtd.ChoiceContentSpec$Validator
dup
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mArity:C
aload 4
invokespecial com.ctc.wstx.dtd.ChoiceContentSpec$Validator.<init>:(CLcom/ctc/wstx/dtd/PrefixedNameSet;)V
areturn
end local 4 14: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/ctc/wstx/dtd/ChoiceContentSpec;
1 15 1 specs [Lcom/ctc/wstx/dtd/ContentSpec;
2 15 2 len I
4 5 3 i I
6 15 3 i I
13 14 4 keyset Lcom/ctc/wstx/dtd/PrefixedNameSet;
public com.ctc.wstx.dtd.ModelNode rewrite();
descriptor: ()Lcom/ctc/wstx/dtd/ModelNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mContentSpecs:[Lcom/ctc/wstx/dtd/ContentSpec;
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: iload 2
anewarray com.ctc.wstx.dtd.ModelNode
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: com.ctc.wstx.dtd.ChoiceContentSpec com.ctc.wstx.dtd.ContentSpec[] int com.ctc.wstx.dtd.ModelNode[] int
StackMap stack:
aload 3
iload 4
aload 1
iload 4
aaload
invokevirtual com.ctc.wstx.dtd.ContentSpec.rewrite:()Lcom/ctc/wstx/dtd/ModelNode;
aastore
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 2
if_icmplt 5
end local 4 8: new com.ctc.wstx.dtd.ChoiceModel
dup
aload 3
invokespecial com.ctc.wstx.dtd.ChoiceModel.<init>:([Lcom/ctc/wstx/dtd/ModelNode;)V
astore 4
start local 4 9: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mArity:C
bipush 42
if_icmpne 11
10: new com.ctc.wstx.dtd.StarModel
dup
aload 4
invokespecial com.ctc.wstx.dtd.StarModel.<init>:(Lcom/ctc/wstx/dtd/ModelNode;)V
areturn
11: StackMap locals: com.ctc.wstx.dtd.ChoiceContentSpec com.ctc.wstx.dtd.ContentSpec[] int com.ctc.wstx.dtd.ModelNode[] com.ctc.wstx.dtd.ChoiceModel
StackMap stack:
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mArity:C
bipush 63
if_icmpne 13
12: new com.ctc.wstx.dtd.OptionalModel
dup
aload 4
invokespecial com.ctc.wstx.dtd.OptionalModel.<init>:(Lcom/ctc/wstx/dtd/ModelNode;)V
areturn
13: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mArity:C
bipush 43
if_icmpne 17
14: new com.ctc.wstx.dtd.ConcatModel
dup
aload 4
15: new com.ctc.wstx.dtd.StarModel
dup
aload 4
invokevirtual com.ctc.wstx.dtd.ChoiceModel.cloneModel:()Lcom/ctc/wstx/dtd/ModelNode;
invokespecial com.ctc.wstx.dtd.StarModel.<init>:(Lcom/ctc/wstx/dtd/ModelNode;)V
16: invokespecial com.ctc.wstx.dtd.ConcatModel.<init>:(Lcom/ctc/wstx/dtd/ModelNode;Lcom/ctc/wstx/dtd/ModelNode;)V
areturn
17: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/ctc/wstx/dtd/ChoiceContentSpec;
1 18 1 specs [Lcom/ctc/wstx/dtd/ContentSpec;
2 18 2 len I
3 18 3 models [Lcom/ctc/wstx/dtd/ModelNode;
4 8 4 i I
9 18 4 model Lcom/ctc/wstx/dtd/ChoiceModel;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, 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 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mHasMixed:Z
ifeq 4
2: aload 1
ldc "(#PCDATA | "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: goto 5
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 6: goto 11
7: StackMap locals: int
StackMap stack:
iload 2
ifle 9
8: aload 1
ldc " | "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mContentSpecs:[Lcom/ctc/wstx/dtd/ContentSpec;
iload 2
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mContentSpecs:[Lcom/ctc/wstx/dtd/ContentSpec;
arraylength
if_icmplt 7
end local 2 12: aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mArity:C
bipush 32
if_icmpeq 15
14: aload 1
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec.mArity:C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/ctc/wstx/dtd/ChoiceContentSpec;
1 16 1 sb Ljava/lang/StringBuilder;
6 12 2 i I
protected static com.ctc.wstx.dtd.PrefixedNameSet namesetFromSpecs(boolean, com.ctc.wstx.dtd.ContentSpec[]);
descriptor: (Z[Lcom/ctc/wstx/dtd/ContentSpec;)Lcom/ctc/wstx/dtd/PrefixedNameSet;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
arraylength
istore 2
start local 2 1: iload 2
anewarray com.ctc.wstx.util.PrefixedName
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: int com.ctc.wstx.util.PrefixedName[] int
StackMap stack:
aload 3
iload 4
aload 1
iload 4
aaload
checkcast com.ctc.wstx.dtd.TokenContentSpec
invokevirtual com.ctc.wstx.dtd.TokenContentSpec.getName:()Lcom/ctc/wstx/util/PrefixedName;
aastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 2
if_icmplt 4
end local 4 7: iload 2
iconst_5
if_icmpge 9
8: new com.ctc.wstx.dtd.SmallPrefixedNameSet
dup
iload 0
aload 3
invokespecial com.ctc.wstx.dtd.SmallPrefixedNameSet.<init>:(Z[Lcom/ctc/wstx/util/PrefixedName;)V
areturn
9: StackMap locals:
StackMap stack:
new com.ctc.wstx.dtd.LargePrefixedNameSet
dup
iload 0
aload 3
invokespecial com.ctc.wstx.dtd.LargePrefixedNameSet.<init>:(Z[Lcom/ctc/wstx/util/PrefixedName;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 nsAware Z
0 10 1 specs [Lcom/ctc/wstx/dtd/ContentSpec;
1 10 2 len I
2 10 3 nameArray [Lcom/ctc/wstx/util/PrefixedName;
3 7 4 i I
MethodParameters:
Name Flags
nsAware
specs
}
SourceFile: "ChoiceContentSpec.java"
NestMembers:
com.ctc.wstx.dtd.ChoiceContentSpec$Validator
InnerClasses:
final Validator = com.ctc.wstx.dtd.ChoiceContentSpec$Validator of com.ctc.wstx.dtd.ChoiceContentSpec