public abstract class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser implements org.springframework.beans.factory.xml.BeanDefinitionParser
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
super_class: java.lang.Object
{
public static final java.lang.String ID_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "id"
public static final java.lang.String NAME_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "name"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/AbstractBeanDefinitionParser;
public final org.springframework.beans.factory.config.BeanDefinition parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parseInternal:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
astore 3
start local 3 1: aload 3
ifnull 28
aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.isNested:()Z
ifne 28
2: aload 0
aload 1
aload 3
aload 2
invokevirtual org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.resolveId:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/support/AbstractBeanDefinition;Lorg/springframework/beans/factory/xml/ParserContext;)Ljava/lang/String;
astore 4
start local 4 3: aload 4
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifne 10
4: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
5: new java.lang.StringBuilder
dup
ldc "Id is required for element '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
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 java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "' when used as a top-level tag"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: aload 1
9: invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.error:(Ljava/lang/String;Ljava/lang/Object;)V
10: StackMap locals: org.springframework.beans.factory.support.AbstractBeanDefinition java.lang.String
StackMap stack:
aconst_null
astore 5
start local 5 11: aload 0
invokevirtual org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.shouldParseNameAsAliases:()Z
ifeq 15
12: aload 1
ldc "name"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 13: aload 6
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 15
14: aload 6
invokestatic org.springframework.util.StringUtils.commaDelimitedListToStringArray:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.trimArrayElements:([Ljava/lang/String;)[Ljava/lang/String;
astore 5
end local 6 15: StackMap locals: java.lang.String[]
StackMap stack:
new org.springframework.beans.factory.config.BeanDefinitionHolder
dup
aload 3
aload 4
aload 5
invokespecial org.springframework.beans.factory.config.BeanDefinitionHolder.<init>:(Lorg/springframework/beans/factory/config/BeanDefinition;Ljava/lang/String;[Ljava/lang/String;)V
astore 6
start local 6 16: aload 0
aload 6
aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokevirtual org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.registerBeanDefinition:(Lorg/springframework/beans/factory/config/BeanDefinitionHolder;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
17: aload 0
invokevirtual org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.shouldFireEvents:()Z
ifeq 28
18: new org.springframework.beans.factory.parsing.BeanComponentDefinition
dup
aload 6
invokespecial org.springframework.beans.factory.parsing.BeanComponentDefinition.<init>:(Lorg/springframework/beans/factory/config/BeanDefinitionHolder;)V
astore 7
start local 7 19: aload 0
aload 7
invokevirtual org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.postProcessComponentDefinition:(Lorg/springframework/beans/factory/parsing/BeanComponentDefinition;)V
20: aload 2
aload 7
invokevirtual org.springframework.beans.factory.xml.ParserContext.registerComponent:(Lorg/springframework/beans/factory/parsing/ComponentDefinition;)V
end local 7 end local 6 end local 5 end local 4 21: goto 28
22: StackMap locals: org.springframework.beans.factory.xml.AbstractBeanDefinitionParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.beans.factory.support.AbstractBeanDefinition
StackMap stack: org.springframework.beans.factory.BeanDefinitionStoreException
astore 4
start local 4 23: aload 4
invokevirtual org.springframework.beans.factory.BeanDefinitionStoreException.getMessage:()Ljava/lang/String;
astore 5
start local 5 24: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
aload 5
ifnull 25
aload 5
goto 26
StackMap locals: org.springframework.beans.factory.xml.AbstractBeanDefinitionParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.beans.factory.support.AbstractBeanDefinition org.springframework.beans.factory.BeanDefinitionStoreException java.lang.String
StackMap stack: org.springframework.beans.factory.xml.XmlReaderContext
25: aload 4
invokevirtual org.springframework.beans.factory.BeanDefinitionStoreException.toString:()Ljava/lang/String;
StackMap locals: org.springframework.beans.factory.xml.AbstractBeanDefinitionParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.beans.factory.support.AbstractBeanDefinition org.springframework.beans.factory.BeanDefinitionStoreException java.lang.String
StackMap stack: org.springframework.beans.factory.xml.XmlReaderContext java.lang.String
26: aload 1
invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.error:(Ljava/lang/String;Ljava/lang/Object;)V
27: aconst_null
areturn
end local 5 end local 4 28: 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 29 0 this Lorg/springframework/beans/factory/xml/AbstractBeanDefinitionParser;
0 29 1 element Lorg/w3c/dom/Element;
0 29 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
1 29 3 definition Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
3 21 4 id Ljava/lang/String;
11 21 5 aliases [Ljava/lang/String;
13 15 6 name Ljava/lang/String;
16 21 6 holder Lorg/springframework/beans/factory/config/BeanDefinitionHolder;
19 21 7 componentDefinition Lorg/springframework/beans/factory/parsing/BeanComponentDefinition;
23 28 4 ex Lorg/springframework/beans/factory/BeanDefinitionStoreException;
24 28 5 msg Ljava/lang/String;
Exception table:
from to target type
2 21 22 Class org.springframework.beans.factory.BeanDefinitionStoreException
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
element
parserContext
protected java.lang.String resolveId(org.w3c.dom.Element, org.springframework.beans.factory.support.AbstractBeanDefinition, org.springframework.beans.factory.xml.ParserContext);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/support/AbstractBeanDefinition;Lorg/springframework/beans/factory/xml/ParserContext;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.shouldGenerateId:()Z
ifeq 2
1: aload 3
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
aload 2
invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.generateBeanName:(Lorg/springframework/beans/factory/config/BeanDefinition;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "id"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: aload 4
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifne 5
aload 0
invokevirtual org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.shouldGenerateIdAsFallback:()Z
ifeq 5
4: aload 3
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
aload 2
invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.generateBeanName:(Lorg/springframework/beans/factory/config/BeanDefinition;)Ljava/lang/String;
astore 4
5: StackMap locals: java.lang.String
StackMap stack:
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 6 0 this Lorg/springframework/beans/factory/xml/AbstractBeanDefinitionParser;
0 6 1 element Lorg/w3c/dom/Element;
0 6 2 definition Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
0 6 3 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
3 6 4 id Ljava/lang/String;
Exceptions:
throws org.springframework.beans.factory.BeanDefinitionStoreException
MethodParameters:
Name Flags
element
definition
parserContext
protected void registerBeanDefinition(org.springframework.beans.factory.config.BeanDefinitionHolder, org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/config/BeanDefinitionHolder;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.springframework.beans.factory.support.BeanDefinitionReaderUtils.registerBeanDefinition:(Lorg/springframework/beans/factory/config/BeanDefinitionHolder;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/xml/AbstractBeanDefinitionParser;
0 2 1 definition Lorg/springframework/beans/factory/config/BeanDefinitionHolder;
0 2 2 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
MethodParameters:
Name Flags
definition
registry
protected abstract org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
element
parserContext
protected boolean shouldGenerateId();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/AbstractBeanDefinitionParser;
protected boolean shouldGenerateIdAsFallback();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/AbstractBeanDefinitionParser;
protected boolean shouldParseNameAsAliases();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/AbstractBeanDefinitionParser;
protected boolean shouldFireEvents();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/AbstractBeanDefinitionParser;
protected void postProcessComponentDefinition(org.springframework.beans.factory.parsing.BeanComponentDefinition);
descriptor: (Lorg/springframework/beans/factory/parsing/BeanComponentDefinition;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/AbstractBeanDefinitionParser;
0 1 1 componentDefinition Lorg/springframework/beans/factory/parsing/BeanComponentDefinition;
MethodParameters:
Name Flags
componentDefinition
}
SourceFile: "AbstractBeanDefinitionParser.java"