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
{
protected final java.util.HashMap<java.lang.String, java.lang.String> excludes;
descriptor: Ljava/util/HashMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
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
aconst_null
putfield org.apache.tomcat.util.digester.SetPropertiesRule.excludes:Ljava/util/HashMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/digester/SetPropertiesRule;
public void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.tomcat.util.digester.Rule.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.tomcat.util.digester.SetPropertiesRule.excludes:Ljava/util/HashMap;
2: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: org.apache.tomcat.util.digester.SetPropertiesRule java.lang.String[] top int int java.lang.String[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 0
getfield org.apache.tomcat.util.digester.SetPropertiesRule.excludes:Ljava/util/HashMap;
aload 2
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 3
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/digester/SetPropertiesRule;
0 9 1 exclude [Ljava/lang/String;
4 6 2 s Ljava/lang/String;
MethodParameters:
Name Flags
exclude
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=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
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
start local 4 1: aload 0
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: aload 4
ifnull 8
3: aload 0
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
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: ldc "} Set "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
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: ldc " properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
7: goto 11
8: StackMap locals: java.lang.Object
StackMap stack:
aload 0
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
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: ldc "} Set NULL properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getGeneratedCode:()Ljava/lang/StringBuilder;
astore 5
start local 5 12: aconst_null
astore 6
start local 6 13: aload 5
ifnull 15
14: aload 0
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 4
invokevirtual org.apache.tomcat.util.digester.Digester.toVariableName:(Ljava/lang/Object;)Ljava/lang/String;
astore 6
15: StackMap locals: java.lang.StringBuilder java.lang.String
StackMap stack:
iconst_0
istore 7
start local 7 16: goto 38
17: StackMap locals: int
StackMap stack:
aload 3
iload 7
invokeinterface org.xml.sax.Attributes.getLocalName:(I)Ljava/lang/String;
astore 8
start local 8 18: aload 8
invokevirtual java.lang.String.isEmpty:()Z
ifeq 20
19: aload 3
iload 7
invokeinterface org.xml.sax.Attributes.getQName:(I)Ljava/lang/String;
astore 8
20: StackMap locals: java.lang.String
StackMap stack:
aload 3
iload 7
invokeinterface org.xml.sax.Attributes.getValue:(I)Ljava/lang/String;
astore 9
start local 9 21: aload 0
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 26
22: aload 0
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
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;
23: ldc "} Setting property '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' to '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: aload 9
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;
25: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
26: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 4
aload 8
invokevirtual org.apache.tomcat.util.digester.Digester.isFakeAttribute:(Ljava/lang/Object;Ljava/lang/String;)Z
ifne 37
aload 0
getfield org.apache.tomcat.util.digester.SetPropertiesRule.excludes:Ljava/util/HashMap;
ifnull 27
aload 0
getfield org.apache.tomcat.util.digester.SetPropertiesRule.excludes:Ljava/util/HashMap;
aload 8
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifne 37
27: StackMap locals:
StackMap stack:
aconst_null
astore 10
start local 10 28: aload 5
ifnull 30
29: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 10
30: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 4
aload 8
aload 9
iconst_1
aload 10
invokestatic org.apache.tomcat.util.IntrospectionUtils.setProperty:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/StringBuilder;)Z
ifne 34
31: aload 0
getfield org.apache.tomcat.util.digester.SetPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getRulesValidation:()Z
ifeq 37
ldc "optional"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 37
32: aload 0
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
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 8
aastore
dup
iconst_2
aload 9
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
33: goto 37
34: StackMap locals:
StackMap stack:
aload 5
ifnull 37
35: aload 5
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
36: aload 5
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 10 end local 9 end local 8 37: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
38: iload 7
aload 3
invokeinterface org.xml.sax.Attributes.getLength:()I
if_icmplt 17
end local 7 39: aload 4
instanceof org.apache.tomcat.util.digester.SetPropertiesRule$Listener
ifeq 45
40: aload 4
checkcast org.apache.tomcat.util.digester.SetPropertiesRule$Listener
invokeinterface org.apache.tomcat.util.digester.SetPropertiesRule$Listener.endSetPropertiesRule:()V
41: aload 5
ifnull 45
42: aload 5
ldc "((org.apache.tomcat.util.digester.SetPropertiesRule.Listener) "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
43: aload 5
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ").endSetPropertiesRule();"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
44: aload 5
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lorg/apache/tomcat/util/digester/SetPropertiesRule;
0 46 1 namespace Ljava/lang/String;
0 46 2 theName Ljava/lang/String;
0 46 3 attributes Lorg/xml/sax/Attributes;
1 46 4 top Ljava/lang/Object;
12 46 5 code Ljava/lang/StringBuilder;
13 46 6 variableName Ljava/lang/String;
16 39 7 i I
18 37 8 name Ljava/lang/String;
21 37 9 value Ljava/lang/String;
28 37 10 actualMethod Ljava/lang/StringBuilder;
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=1, locals=1, args_size=1
start local 0 0: ldc "SetPropertiesRule[]"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/digester/SetPropertiesRule;
}
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