public class org.apache.tomcat.util.digester.RulesBase implements org.apache.tomcat.util.digester.Rules
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.digester.RulesBase
super_class: java.lang.Object
{
protected java.util.HashMap<java.lang.String, java.util.List<org.apache.tomcat.util.digester.Rule>> cache;
descriptor: Ljava/util/HashMap;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/util/List<Lorg/apache/tomcat/util/digester/Rule;>;>;
protected org.apache.tomcat.util.digester.Digester digester;
descriptor: Lorg/apache/tomcat/util/digester/Digester;
flags: (0x0004) ACC_PROTECTED
protected java.util.ArrayList<org.apache.tomcat.util.digester.Rule> rules;
descriptor: Ljava/util/ArrayList;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/ArrayList<Lorg/apache/tomcat/util/digester/Rule;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.tomcat.util.digester.RulesBase.cache:Ljava/util/HashMap;
2: aload 0
aconst_null
putfield org.apache.tomcat.util.digester.RulesBase.digester:Lorg/apache/tomcat/util/digester/Digester;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.tomcat.util.digester.RulesBase.rules:Ljava/util/ArrayList;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/digester/RulesBase;
public org.apache.tomcat.util.digester.Digester getDigester();
descriptor: ()Lorg/apache/tomcat/util/digester/Digester;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.digester:Lorg/apache/tomcat/util/digester/Digester;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/digester/RulesBase;
public void setDigester(org.apache.tomcat.util.digester.Digester);
descriptor: (Lorg/apache/tomcat/util/digester/Digester;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.digester.RulesBase.digester:Lorg/apache/tomcat/util/digester/Digester;
1: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.rules:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.tomcat.util.digester.RulesBase org.apache.tomcat.util.digester.Digester top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.digester.Rule
astore 2
start local 2 3: aload 2
aload 1
invokevirtual org.apache.tomcat.util.digester.Rule.setDigester:(Lorg/apache/tomcat/util/digester/Digester;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/digester/RulesBase;
0 6 1 digester Lorg/apache/tomcat/util/digester/Digester;
3 4 2 item Lorg/apache/tomcat/util/digester/Rule;
MethodParameters:
Name Flags
digester
public void add(java.lang.String, org.apache.tomcat.util.digester.Rule);
descriptor: (Ljava/lang/String;Lorg/apache/tomcat/util/digester/Rule;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: iload 3
iconst_1
if_icmple 3
aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 3
2: aload 1
iconst_0
iload 3
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.digester.RulesBase.cache:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 4: aload 4
ifnonnull 7
5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
6: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.cache:Ljava/util/HashMap;
aload 1
aload 4
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: java.util.List
StackMap stack:
aload 4
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.rules:Ljava/util/ArrayList;
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.digester:Lorg/apache/tomcat/util/digester/Digester;
ifnull 11
10: aload 2
aload 0
getfield org.apache.tomcat.util.digester.RulesBase.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Rule.setDigester:(Lorg/apache/tomcat/util/digester/Digester;)V
11: StackMap locals:
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 12 0 this Lorg/apache/tomcat/util/digester/RulesBase;
0 12 1 pattern Ljava/lang/String;
0 12 2 rule Lorg/apache/tomcat/util/digester/Rule;
1 12 3 patternLength I
4 12 4 list Ljava/util/List<Lorg/apache/tomcat/util/digester/Rule;>;
MethodParameters:
Name Flags
pattern
rule
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.cache:Ljava/util/HashMap;
invokevirtual java.util.HashMap.clear:()V
1: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.rules:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/digester/RulesBase;
public java.util.List<org.apache.tomcat.util.digester.Rule> match(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.tomcat.util.digester.RulesBase.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
invokeinterface java.util.List.size:()I
iconst_1
if_icmpge 12
2: StackMap locals: java.util.List
StackMap stack:
ldc ""
astore 4
start local 4 3: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.cache:Ljava/util/HashMap;
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: org.apache.tomcat.util.digester.RulesBase java.lang.String java.lang.String java.util.List java.lang.String top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: aload 5
ldc "*/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
6: aload 2
aload 5
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
7: aload 2
aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
8: StackMap locals: org.apache.tomcat.util.digester.RulesBase java.lang.String java.lang.String java.util.List java.lang.String java.lang.String java.util.Iterator
StackMap stack:
aload 5
invokevirtual java.lang.String.length:()I
aload 4
invokevirtual java.lang.String.length:()I
if_icmple 11
9: aload 0
aload 1
aload 5
invokevirtual org.apache.tomcat.util.digester.RulesBase.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
astore 3
10: aload 5
astore 4
end local 5 11: StackMap locals: org.apache.tomcat.util.digester.RulesBase java.lang.String java.lang.String java.util.List java.lang.String top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 4 12: StackMap locals: org.apache.tomcat.util.digester.RulesBase java.lang.String java.lang.String java.util.List
StackMap stack:
aload 3
ifnonnull 14
13: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
14: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/tomcat/util/digester/RulesBase;
0 15 1 namespaceURI Ljava/lang/String;
0 15 2 pattern Ljava/lang/String;
1 15 3 rulesList Ljava/util/List<Lorg/apache/tomcat/util/digester/Rule;>;
3 12 4 longKey Ljava/lang/String;
5 11 5 key Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/util/List<Lorg/apache/tomcat/util/digester/Rule;>;
MethodParameters:
Name Flags
namespaceURI
pattern
public java.util.List<org.apache.tomcat.util.digester.Rule> rules();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.rules:Ljava/util/ArrayList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/digester/RulesBase;
Signature: ()Ljava/util/List<Lorg/apache/tomcat/util/digester/Rule;>;
protected java.util.List<org.apache.tomcat.util.digester.Rule> lookup(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.digester.RulesBase.cache:Ljava/util/HashMap;
aload 2
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.util.List
StackMap stack:
aload 1
ifnull 4
aload 1
invokevirtual java.lang.String.length:()I
ifne 5
4: StackMap locals:
StackMap stack:
aload 3
areturn
5: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 6: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: org.apache.tomcat.util.digester.RulesBase java.lang.String java.lang.String java.util.List java.util.List top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.digester.Rule
astore 5
start local 5 8: aload 1
aload 5
invokevirtual org.apache.tomcat.util.digester.Rule.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
9: aload 5
invokevirtual org.apache.tomcat.util.digester.Rule.getNamespaceURI:()Ljava/lang/String;
ifnonnull 11
10: StackMap locals: org.apache.tomcat.util.digester.RulesBase java.lang.String java.lang.String java.util.List java.util.List org.apache.tomcat.util.digester.Rule java.util.Iterator
StackMap stack:
aload 4
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 11: StackMap locals: org.apache.tomcat.util.digester.RulesBase java.lang.String java.lang.String java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/tomcat/util/digester/RulesBase;
0 13 1 namespaceURI Ljava/lang/String;
0 13 2 pattern Ljava/lang/String;
1 13 3 list Ljava/util/List<Lorg/apache/tomcat/util/digester/Rule;>;
6 13 4 results Ljava/util/List<Lorg/apache/tomcat/util/digester/Rule;>;
8 11 5 item Lorg/apache/tomcat/util/digester/Rule;
Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/util/List<Lorg/apache/tomcat/util/digester/Rule;>;
MethodParameters:
Name Flags
namespaceURI
pattern
}
SourceFile: "RulesBase.java"