public class org.apache.tomcat.util.digester.SetPropertiesRule extends org.apache.tomcat.util.digester.Rule
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.digester.SetPropertiesRule
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.digester.SetPropertiesRule this
0: .line 31
aload 0 /* this */
invokespecial org.apache.tomcat.util.digester.Rule.<init>:()V
return
end local 0 // org.apache.tomcat.util.digester.SetPropertiesRule this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/digester/SetPropertiesRule;
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=7, locals=8, args_size=4
start local 0 // org.apache.tomcat.util.digester.SetPropertiesRule this
start local 1 // java.lang.String namespace
start local 2 // java.lang.String theName
start local 3 // org.xml.sax.Attributes attributes
0: .line 52
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.peek:()Ljava/lang/Object;
astore 4 /* top */
start local 4 // java.lang.Object top
1: .line 53
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 11
2: .line 54
aload 4 /* top */
ifnull 8
3: .line 55
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "[SetPropertiesRule]{"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.match:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: .line 56
ldc "} Set "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4 /* top */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: .line 57
ldc " properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: .line 55
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
7: .line 58
goto 11
8: .line 59
StackMap locals: java.lang.Object
StackMap stack:
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "[SetPropertiesRule]{"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.match:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: .line 60
ldc "} Set NULL properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: .line 59
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
11: .line 64
StackMap locals:
StackMap stack:
iconst_0
istore 5 /* i */
start local 5 // int i
12: goto 28
13: .line 65
StackMap locals: int
StackMap stack:
aload 3 /* attributes */
iload 5 /* i */
invokeinterface org.xml.sax.Attributes.getLocalName:(I)Ljava/lang/String;
astore 6 /* name */
start local 6 // java.lang.String name
14: .line 66
ldc ""
aload 6 /* name */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: .line 67
aload 3 /* attributes */
iload 5 /* i */
invokeinterface org.xml.sax.Attributes.getQName:(I)Ljava/lang/String;
astore 6 /* name */
16: .line 69
StackMap locals: java.lang.String
StackMap stack:
aload 3 /* attributes */
iload 5 /* i */
invokeinterface org.xml.sax.Attributes.getValue:(I)Ljava/lang/String;
astore 7 /* value */
start local 7 // java.lang.String value
17: .line 71
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 22
18: .line 72
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "[SetPropertiesRule]{"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.match:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: .line 73
ldc "} Setting property '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6 /* name */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' to '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: .line 74
aload 7 /* value */
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;
21: .line 72
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
22: .line 76
StackMap locals: java.lang.String
StackMap stack:
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 4 /* top */
aload 6 /* name */
invokevirtual org.apache.tomcat.util.digester.Digester.isFakeAttribute:(Ljava/lang/Object;Ljava/lang/String;)Z
ifne 27
23: .line 77
aload 4 /* top */
aload 6 /* name */
aload 7 /* value */
invokestatic org.apache.tomcat.util.IntrospectionUtils.setProperty:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)Z
ifne 27
24: .line 78
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getRulesValidation:()Z
ifeq 27
25: .line 79
ldc "optional"
aload 6 /* name */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
26: .line 80
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.digester.SetPropertiesRule.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "rule.noProperty"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0 /* this */
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
getfield org.apache.tomcat.util.digester.Digester.match:Ljava/lang/String;
aastore
dup
iconst_1
aload 6 /* name */
aastore
dup
iconst_2
aload 7 /* value */
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
end local 7 // java.lang.String value
end local 6 // java.lang.String name
27: .line 64
StackMap locals:
StackMap stack:
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
28: iload 5 /* i */
aload 3 /* attributes */
invokeinterface org.xml.sax.Attributes.getLength:()I
if_icmplt 13
end local 5 // int i
29: .line 85
aload 4 /* top */
instanceof org.apache.tomcat.util.digester.SetPropertiesRule$Listener
ifeq 31
30: .line 86
aload 4 /* top */
checkcast org.apache.tomcat.util.digester.SetPropertiesRule$Listener
invokeinterface org.apache.tomcat.util.digester.SetPropertiesRule$Listener.endSetPropertiesRule:()V
31: .line 89
StackMap locals:
StackMap stack:
return
end local 4 // java.lang.Object top
end local 3 // org.xml.sax.Attributes attributes
end local 2 // java.lang.String theName
end local 1 // java.lang.String namespace
end local 0 // org.apache.tomcat.util.digester.SetPropertiesRule this
LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/apache/tomcat/util/digester/SetPropertiesRule;
0 32 1 namespace Ljava/lang/String;
0 32 2 theName Ljava/lang/String;
0 32 3 attributes Lorg/xml/sax/Attributes;
1 32 4 top Ljava/lang/Object;
12 29 5 i I
14 27 6 name Ljava/lang/String;
17 27 7 value Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
namespace
theName
attributes
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 // org.apache.tomcat.util.digester.SetPropertiesRule this
0: .line 97
new java.lang.StringBuilder
dup
ldc "SetPropertiesRule["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1 /* sb */
start local 1 // java.lang.StringBuilder sb
1: .line 98
aload 1 /* sb */
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: .line 99
aload 1 /* sb */
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 // java.lang.StringBuilder sb
end local 0 // org.apache.tomcat.util.digester.SetPropertiesRule this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/digester/SetPropertiesRule;
1 3 1 sb Ljava/lang/StringBuilder;
}
SourceFile: "SetPropertiesRule.java"
NestMembers:
org.apache.tomcat.util.digester.SetPropertiesRule$Listener
InnerClasses:
public abstract Listener = org.apache.tomcat.util.digester.SetPropertiesRule$Listener of org.apache.tomcat.util.digester.SetPropertiesRule