final class com.ctc.wstx.dtd.ChoiceContentSpec$Validator extends com.ctc.wstx.dtd.StructValidator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.dtd.ChoiceContentSpec$Validator
super_class: com.ctc.wstx.dtd.StructValidator
{
final char mArity;
descriptor: C
flags: (0x0010) ACC_FINAL
final com.ctc.wstx.dtd.PrefixedNameSet mNames;
descriptor: Lcom/ctc/wstx/dtd/PrefixedNameSet;
flags: (0x0010) ACC_FINAL
int mCount;
descriptor: I
flags: (0x0000)
public void <init>(char, com.ctc.wstx.dtd.PrefixedNameSet);
descriptor: (CLcom/ctc/wstx/dtd/PrefixedNameSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.ctc.wstx.dtd.StructValidator.<init>:()V
1: aload 0
iconst_0
putfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mCount:I
2: aload 0
iload 1
putfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mArity:C
3: aload 0
aload 2
putfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/dtd/ChoiceContentSpec$Validator;
0 5 1 arity C
0 5 2 names Lcom/ctc/wstx/dtd/PrefixedNameSet;
MethodParameters:
Name Flags
arity
names
public com.ctc.wstx.dtd.StructValidator newInstance();
descriptor: ()Lcom/ctc/wstx/dtd/StructValidator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mArity:C
bipush 42
if_icmpne 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: new com.ctc.wstx.dtd.ChoiceContentSpec$Validator
dup
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mArity:C
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
invokespecial com.ctc.wstx.dtd.ChoiceContentSpec$Validator.<init>:(CLcom/ctc/wstx/dtd/PrefixedNameSet;)V
StackMap locals:
StackMap stack: com.ctc.wstx.dtd.ChoiceContentSpec$Validator
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/dtd/ChoiceContentSpec$Validator;
public java.lang.String tryToValidate(com.ctc.wstx.util.PrefixedName);
descriptor: (Lcom/ctc/wstx/util/PrefixedName;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
aload 1
invokevirtual com.ctc.wstx.dtd.PrefixedNameSet.contains:(Lcom/ctc/wstx/util/PrefixedName;)Z
ifne 4
1: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
invokevirtual com.ctc.wstx.dtd.PrefixedNameSet.hasMultiple:()Z
ifeq 3
2: new java.lang.StringBuilder
dup
ldc "Expected one of ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
ldc " | "
invokevirtual com.ctc.wstx.dtd.PrefixedNameSet.toString:(Ljava/lang/String;)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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Expected <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
ldc ""
invokevirtual com.ctc.wstx.dtd.PrefixedNameSet.toString:(Ljava/lang/String;)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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mCount:I
iconst_1
iadd
dup_x1
putfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mCount:I
iconst_1
if_icmple 12
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mArity:C
bipush 63
if_icmpeq 5
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mArity:C
bipush 32
if_icmpne 12
5: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
invokevirtual com.ctc.wstx.dtd.PrefixedNameSet.hasMultiple:()Z
ifeq 9
6: new java.lang.StringBuilder
dup
ldc "Expected $END (already had one of ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
ldc " | "
invokevirtual com.ctc.wstx.dtd.PrefixedNameSet.toString:(Ljava/lang/String;)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;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Expected $END (already had one <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
ldc ""
invokevirtual com.ctc.wstx.dtd.PrefixedNameSet.toString:(Ljava/lang/String;)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;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/ctc/wstx/dtd/ChoiceContentSpec$Validator;
0 13 1 elemName Lcom/ctc/wstx/util/PrefixedName;
MethodParameters:
Name Flags
elemName
public java.lang.String fullyValid();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mArity:C
lookupswitch { // 4
32: 2
42: 1
43: 2
63: 1
default: 9
}
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mCount:I
ifle 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Expected "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mArity:C
bipush 43
if_icmpne 5
ldc "at least"
goto 6
StackMap locals:
StackMap stack: java.lang.StringBuilder
5: ldc ""
StackMap locals: com.ctc.wstx.dtd.ChoiceContentSpec$Validator
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc " one of elements ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.ctc.wstx.dtd.ChoiceContentSpec$Validator.mNames:Lcom/ctc/wstx/dtd/PrefixedNameSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
invokestatic com.ctc.wstx.util.ExceptionUtil.throwGenericInternal:()V
10: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/ctc/wstx/dtd/ChoiceContentSpec$Validator;
}
SourceFile: "ChoiceContentSpec.java"
NestHost: com.ctc.wstx.dtd.ChoiceContentSpec
InnerClasses:
final Validator = com.ctc.wstx.dtd.ChoiceContentSpec$Validator of com.ctc.wstx.dtd.ChoiceContentSpec