public class org.apache.tomcat.util.digester.ObjectCreateRule 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.ObjectCreateRule
super_class: org.apache.tomcat.util.digester.Rule
{
protected java.lang.String attributeName;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String className;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.apache.tomcat.util.digester.ObjectCreateRule.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/digester/ObjectCreateRule;
0 2 1 className Ljava/lang/String;
MethodParameters:
Name Flags
className
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.tomcat.util.digester.Rule.<init>:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.digester.ObjectCreateRule.attributeName:Ljava/lang/String;
2: aload 0
aconst_null
putfield org.apache.tomcat.util.digester.ObjectCreateRule.className:Ljava/lang/String;
3: aload 0
aload 1
putfield org.apache.tomcat.util.digester.ObjectCreateRule.className:Ljava/lang/String;
4: aload 0
aload 2
putfield org.apache.tomcat.util.digester.ObjectCreateRule.attributeName:Ljava/lang/String;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/digester/ObjectCreateRule;
0 6 1 className Ljava/lang/String;
0 6 2 attributeName Ljava/lang/String;
MethodParameters:
Name Flags
className
attributeName
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=8, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
invokevirtual org.apache.tomcat.util.digester.ObjectCreateRule.getRealClassName:(Lorg/xml/sax/Attributes;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: new java.lang.NullPointerException
dup
getstatic org.apache.tomcat.util.digester.ObjectCreateRule.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "rule.noClassName"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getClassLoader:()Ljava/lang/ClassLoader;
aload 4
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 5
start local 5 4: aload 5
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 5: aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 6
invokevirtual org.apache.tomcat.util.digester.Digester.push:(Ljava/lang/Object;)V
6: aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getGeneratedCode:()Ljava/lang/StringBuilder;
astore 7
start local 7 7: aload 7
ifnull 12
8: aload 7
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 7
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 7
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 6
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 " = new "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 7
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "();"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals: java.lang.Class java.lang.Object java.lang.StringBuilder
StackMap stack:
return
end local 7 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 13 0 this Lorg/apache/tomcat/util/digester/ObjectCreateRule;
0 13 1 namespace Ljava/lang/String;
0 13 2 name Ljava/lang/String;
0 13 3 attributes Lorg/xml/sax/Attributes;
1 13 4 realClassName Ljava/lang/String;
4 13 5 clazz Ljava/lang/Class<*>;
5 13 6 instance Ljava/lang/Object;
7 13 7 code Ljava/lang/StringBuilder;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
namespace
name
attributes
protected java.lang.String getRealClassName(org.xml.sax.Attributes);
descriptor: (Lorg/xml/sax/Attributes;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.className:Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.attributeName:Ljava/lang/String;
ifnull 5
2: aload 1
aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.attributeName:Ljava/lang/String;
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 3
astore 2
end local 3 5: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/digester/ObjectCreateRule;
0 6 1 attributes Lorg/xml/sax/Attributes;
1 6 2 realClassName Ljava/lang/String;
3 5 3 value Ljava/lang/String;
MethodParameters:
Name Flags
attributes
public void end(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.pop:()Ljava/lang/Object;
astore 3
start local 3 1: aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.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 5
2: aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.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 "[ObjectCreateRule]{"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.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;
3: ldc "} Pop "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
5: StackMap locals: java.lang.Object
StackMap stack:
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/digester/ObjectCreateRule;
0 6 1 namespace Ljava/lang/String;
0 6 2 name Ljava/lang/String;
1 6 3 top Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
namespace
name
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ObjectCreateRule["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "className="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.className:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc ", attributeName="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.apache.tomcat.util.digester.ObjectCreateRule.attributeName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/digester/ObjectCreateRule;
1 7 1 sb Ljava/lang/StringBuilder;
}
SourceFile: "ObjectCreateRule.java"