final class org.apache.tomcat.util.descriptor.web.VersionRule 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.VersionRule
super_class: org.apache.tomcat.util.digester.Rule
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.tomcat.util.descriptor.web.VersionRule this
0: .line 1159
aload 0 /* this */
invokespecial org.apache.tomcat.util.digester.Rule.<init>:()V
1: .line 1161
return
end local 0 // org.apache.tomcat.util.descriptor.web.VersionRule this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/web/VersionRule;
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=6, args_size=4
start local 0 // org.apache.tomcat.util.descriptor.web.VersionRule this
start local 1 // java.lang.String namespace
start local 2 // java.lang.String name
start local 3 // org.xml.sax.Attributes attributes
0: .line 1166
aload 0 /* this */
getfield org.apache.tomcat.util.descriptor.web.VersionRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 0 /* this */
getfield org.apache.tomcat.util.descriptor.web.VersionRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getCount:()I
iconst_1
isub
invokevirtual org.apache.tomcat.util.digester.Digester.peek:(I)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.WebXml
astore 4 /* webXml */
start local 4 // org.apache.tomcat.util.descriptor.web.WebXml webXml
1: .line 1167
aload 4 /* webXml */
aload 3 /* attributes */
ldc "version"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.apache.tomcat.util.descriptor.web.WebXml.setVersion:(Ljava/lang/String;)V
2: .line 1169
aload 0 /* this */
getfield org.apache.tomcat.util.descriptor.web.VersionRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getLogger:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 8
3: .line 1170
aload 0 /* this */
getfield org.apache.tomcat.util.descriptor.web.VersionRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getLogger:()Lorg/apache/juli/logging/Log;
4: .line 1171
new java.lang.StringBuilder
dup
aload 4 /* webXml */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".setVersion( "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: .line 1172
aload 4 /* webXml */
invokevirtual org.apache.tomcat.util.descriptor.web.WebXml.getVersion:()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;
6: .line 1171
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: .line 1170
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
8: .line 1175
StackMap locals: org.apache.tomcat.util.descriptor.web.WebXml
StackMap stack:
aload 0 /* this */
getfield org.apache.tomcat.util.descriptor.web.VersionRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getGeneratedCode:()Ljava/lang/StringBuilder;
astore 5 /* code */
start local 5 // java.lang.StringBuilder code
9: .line 1176
aload 5 /* code */
ifnull 14
10: .line 1177
aload 5 /* code */
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: .line 1178
aload 5 /* code */
aload 0 /* this */
getfield org.apache.tomcat.util.descriptor.web.VersionRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 4 /* webXml */
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 ".setVersion(\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: .line 1179
aload 5 /* code */
aload 3 /* attributes */
ldc "version"
invokeinterface org.xml.sax.Attributes.getValue:(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;
pop
13: .line 1180
aload 5 /* code */
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: .line 1182
StackMap locals: java.lang.StringBuilder
StackMap stack:
return
end local 5 // java.lang.StringBuilder code
end local 4 // org.apache.tomcat.util.descriptor.web.WebXml webXml
end local 3 // org.xml.sax.Attributes attributes
end local 2 // java.lang.String name
end local 1 // java.lang.String namespace
end local 0 // org.apache.tomcat.util.descriptor.web.VersionRule this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/tomcat/util/descriptor/web/VersionRule;
0 15 1 namespace Ljava/lang/String;
0 15 2 name Ljava/lang/String;
0 15 3 attributes Lorg/xml/sax/Attributes;
1 15 4 webXml Lorg/apache/tomcat/util/descriptor/web/WebXml;
9 15 5 code Ljava/lang/StringBuilder;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
namespace
name
attributes
}
SourceFile: "WebRuleSet.java"