final class com.ctc.wstx.dtd.TokenContentSpec$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.TokenContentSpec$Validator
super_class: com.ctc.wstx.dtd.StructValidator
{
final char mArity;
descriptor: C
flags: (0x0010) ACC_FINAL
final com.ctc.wstx.util.PrefixedName mElemName;
descriptor: Lcom/ctc/wstx/util/PrefixedName;
flags: (0x0010) ACC_FINAL
int mCount;
descriptor: I
flags: (0x0000)
public void <init>(char, com.ctc.wstx.util.PrefixedName);
descriptor: (CLcom/ctc/wstx/util/PrefixedName;)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.TokenContentSpec$Validator.mCount:I
2: aload 0
iload 1
putfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mArity:C
3: aload 0
aload 2
putfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mElemName:Lcom/ctc/wstx/util/PrefixedName;
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/TokenContentSpec$Validator;
0 5 1 arity C
0 5 2 elemName Lcom/ctc/wstx/util/PrefixedName;
MethodParameters:
Name Flags
arity
elemName
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.TokenContentSpec$Validator.mArity:C
bipush 42
if_icmpne 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: new com.ctc.wstx.dtd.TokenContentSpec$Validator
dup
aload 0
getfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mArity:C
aload 0
getfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mElemName:Lcom/ctc/wstx/util/PrefixedName;
invokespecial com.ctc.wstx.dtd.TokenContentSpec$Validator.<init>:(CLcom/ctc/wstx/util/PrefixedName;)V
StackMap locals:
StackMap stack: com.ctc.wstx.dtd.TokenContentSpec$Validator
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/dtd/TokenContentSpec$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 1
aload 0
getfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mElemName:Lcom/ctc/wstx/util/PrefixedName;
invokevirtual com.ctc.wstx.util.PrefixedName.equals:(Ljava/lang/Object;)Z
ifne 2
1: new java.lang.StringBuilder
dup
ldc "Expected element <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mElemName:Lcom/ctc/wstx/util/PrefixedName;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mCount:I
iconst_1
iadd
dup_x1
putfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mCount:I
iconst_1
if_icmple 4
aload 0
getfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mArity:C
bipush 63
if_icmpeq 3
aload 0
getfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mArity:C
bipush 32
if_icmpne 4
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "More than one instance of element <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mElemName:Lcom/ctc/wstx/util/PrefixedName;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/dtd/TokenContentSpec$Validator;
0 5 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.TokenContentSpec$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.TokenContentSpec$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.TokenContentSpec$Validator.mArity:C
bipush 43
if_icmpne 5
ldc "at least one"
goto 6
StackMap locals:
StackMap stack: java.lang.StringBuilder
5: ldc ""
StackMap locals: com.ctc.wstx.dtd.TokenContentSpec$Validator
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc " element <"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.ctc.wstx.dtd.TokenContentSpec$Validator.mElemName:Lcom/ctc/wstx/util/PrefixedName;
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:
new java.lang.IllegalStateException
dup
getstatic com.ctc.wstx.cfg.ErrorConsts.ERR_INTERNAL:Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/ctc/wstx/dtd/TokenContentSpec$Validator;
}
SourceFile: "TokenContentSpec.java"
NestHost: com.ctc.wstx.dtd.TokenContentSpec
InnerClasses:
final Validator = com.ctc.wstx.dtd.TokenContentSpec$Validator of com.ctc.wstx.dtd.TokenContentSpec