public abstract class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
super_class: org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser;
protected void doParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 11
3: StackMap locals: org.w3c.dom.NamedNodeMap int
StackMap stack:
aload 4
iload 5
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 6
start local 6 4: aload 0
aload 6
aload 2
invokevirtual org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.isEligibleAttribute:(Lorg/w3c/dom/Attr;Lorg/springframework/beans/factory/xml/ParserContext;)Z
ifeq 10
5: aload 0
aload 6
invokeinterface org.w3c.dom.Attr.getLocalName:()Ljava/lang/String;
invokevirtual org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.extractPropertyName:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 6: aload 7
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
7: ldc "Illegal property name returned from 'extractPropertyName(String)': cannot be null or empty."
8: invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
9: aload 3
aload 7
aload 6
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyValue:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
end local 7 end local 6 10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 4
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 3
end local 5 12: aload 0
aload 3
aload 1
invokevirtual org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.postProcess:(Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;Lorg/w3c/dom/Element;)V
13: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser;
0 14 1 element Lorg/w3c/dom/Element;
0 14 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
0 14 3 builder Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
1 14 4 attributes Lorg/w3c/dom/NamedNodeMap;
2 12 5 x I
4 10 6 attribute Lorg/w3c/dom/Attr;
6 10 7 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
element
parserContext
builder
protected boolean isEligibleAttribute(org.w3c.dom.Attr, org.springframework.beans.factory.xml.ParserContext);
descriptor: (Lorg/w3c/dom/Attr;Lorg/springframework/beans/factory/xml/ParserContext;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.w3c.dom.Attr.getName:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
aload 3
ldc "xmlns:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
2: aload 0
aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getDelegate:()Lorg/springframework/beans/factory/xml/BeanDefinitionParserDelegate;
aload 1
invokevirtual org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.getLocalName:(Lorg/w3c/dom/Node;)Ljava/lang/String;
invokevirtual org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.isEligibleAttribute:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
StackMap locals: java.lang.String
StackMap stack:
4: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser;
0 5 1 attribute Lorg/w3c/dom/Attr;
0 5 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
1 5 3 fullName Ljava/lang/String;
MethodParameters:
Name Flags
attribute
parserContext
protected boolean isEligibleAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "id"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser;
0 3 1 attributeName Ljava/lang/String;
MethodParameters:
Name Flags
attributeName
protected java.lang.String extractPropertyName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.core.Conventions.attributeNameToPropertyName:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser;
0 1 1 attributeName Ljava/lang/String;
MethodParameters:
Name Flags
attributeName
protected void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder, org.w3c.dom.Element);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;Lorg/w3c/dom/Element;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser;
0 1 1 beanDefinition Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
0 1 2 element Lorg/w3c/dom/Element;
MethodParameters:
Name Flags
beanDefinition
element
}
SourceFile: "AbstractSimpleBeanDefinitionParser.java"