final class org.apache.tomcat.util.descriptor.web.NameRule extends org.apache.tomcat.util.digester.Rule
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.tomcat.util.descriptor.web.NameRule
super_class: org.apache.tomcat.util.digester.Rule
{
boolean isNameSet;
descriptor: Z
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.tomcat.util.digester.Rule.<init>:()V
1: aload 0
iconst_0
putfield org.apache.tomcat.util.descriptor.web.NameRule.isNameSet:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/descriptor/web/NameRule;
public void begin(java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.tomcat.util.descriptor.web.NameRule.isNameSet:Z
ifeq 4
1: new java.lang.IllegalArgumentException
dup
getstatic org.apache.tomcat.util.descriptor.web.WebRuleSet.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "webRuleSet.nameCount"
3: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.tomcat.util.descriptor.web.NameRule.isNameSet:Z
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/descriptor/web/NameRule;
0 6 1 namespace Ljava/lang/String;
0 6 2 name Ljava/lang/String;
0 6 3 attributes Lorg/xml/sax/Attributes;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
namespace
name
attributes
public void body(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.tomcat.util.descriptor.web.NameRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.peek:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.WebXml
aload 3
invokevirtual org.apache.tomcat.util.descriptor.web.WebXml.setName:(Ljava/lang/String;)V
1: aload 0
getfield org.apache.tomcat.util.descriptor.web.NameRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getGeneratedCode:()Ljava/lang/StringBuilder;
astore 4
start local 4 2: aload 4
ifnull 7
3: aload 4
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 4
aload 0
getfield org.apache.tomcat.util.descriptor.web.NameRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 0
getfield org.apache.tomcat.util.descriptor.web.NameRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.peek:()Ljava/lang/Object;
invokevirtual org.apache.tomcat.util.digester.Digester.toVariableName:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".setName(\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 4
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\");"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 4
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals: java.lang.StringBuilder
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 8 0 this Lorg/apache/tomcat/util/descriptor/web/NameRule;
0 8 1 namespace Ljava/lang/String;
0 8 2 name Ljava/lang/String;
0 8 3 text Ljava/lang/String;
2 8 4 code Ljava/lang/StringBuilder;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
namespace
name
text
}
SourceFile: "WebRuleSet.java"