class org.springframework.cache.config.CacheAdviceParser extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.cache.config.CacheAdviceParser
super_class: org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
{
private static final java.lang.String CACHEABLE_ELEMENT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cacheable"
private static final java.lang.String CACHE_EVICT_ELEMENT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cache-evict"
private static final java.lang.String CACHE_PUT_ELEMENT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cache-put"
private static final java.lang.String METHOD_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "method"
private static final java.lang.String DEFS_ELEMENT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "caching"
void <init>();
descriptor: ()V
flags: (0x0000)
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/cache/config/CacheAdviceParser;
protected java.lang.Class<?> getBeanClass(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc Lorg/springframework/cache/interceptor/CacheInterceptor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/config/CacheAdviceParser;
0 1 1 element Lorg/w3c/dom/Element;
Signature: (Lorg/w3c/dom/Element;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
element
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=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ldc "cacheManager"
aload 1
invokestatic org.springframework.cache.config.CacheNamespaceHandler.extractCacheManager:(Lorg/w3c/dom/Element;)Ljava/lang/String;
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyReference:(Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
1: aload 1
aload 3
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
invokestatic org.springframework.cache.config.CacheNamespaceHandler.parseKeyGenerator:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/config/BeanDefinition;)Lorg/springframework/beans/factory/config/BeanDefinition;
pop
2: aload 1
ldc "caching"
invokestatic org.springframework.util.xml.DomUtils.getChildElementsByTagName:(Lorg/w3c/dom/Element;Ljava/lang/String;)Ljava/util/List;
astore 4
start local 4 3: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 7
4: aload 0
aload 4
aload 2
invokevirtual org.springframework.cache.config.CacheAdviceParser.parseDefinitionsSources:(Ljava/util/List;Lorg/springframework/beans/factory/xml/ParserContext;)Ljava/util/List;
astore 5
start local 5 5: aload 3
ldc "cacheOperationSources"
aload 5
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyValue:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
end local 5 6: goto 10
7: StackMap locals: java.util.List
StackMap stack:
aload 3
ldc "cacheOperationSources"
8: new org.springframework.beans.factory.support.RootBeanDefinition
dup
ldc "org.springframework.cache.annotation.AnnotationCacheOperationSource"
invokespecial org.springframework.beans.factory.support.RootBeanDefinition.<init>:(Ljava/lang/String;)V
9: invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyValue:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
10: 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 11 0 this Lorg/springframework/cache/config/CacheAdviceParser;
0 11 1 element Lorg/w3c/dom/Element;
0 11 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
0 11 3 builder Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
3 11 4 cacheDefs Ljava/util/List<Lorg/w3c/dom/Element;>;
5 6 5 attributeSourceDefinitions Ljava/util/List<Lorg/springframework/beans/factory/support/RootBeanDefinition;>;
MethodParameters:
Name Flags
element
parserContext
builder
private java.util.List<org.springframework.beans.factory.support.RootBeanDefinition> parseDefinitionsSources(java.util.List<org.w3c.dom.Element>, org.springframework.beans.factory.xml.ParserContext);
descriptor: (Ljava/util/List;Lorg/springframework/beans/factory/xml/ParserContext;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.beans.factory.support.ManagedList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial org.springframework.beans.factory.support.ManagedList.<init>:(I)V
astore 3
start local 3 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: org.springframework.cache.config.CacheAdviceParser java.util.List org.springframework.beans.factory.xml.ParserContext org.springframework.beans.factory.support.ManagedList top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Element
astore 4
start local 4 3: aload 3
aload 0
aload 4
aload 2
invokevirtual org.springframework.cache.config.CacheAdviceParser.parseDefinitionSource:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;)Lorg/springframework/beans/factory/support/RootBeanDefinition;
invokevirtual org.springframework.beans.factory.support.ManagedList.add:(Ljava/lang/Object;)Z
pop
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/cache/config/CacheAdviceParser;
0 6 1 definitions Ljava/util/List<Lorg/w3c/dom/Element;>;
0 6 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
1 6 3 defs Lorg/springframework/beans/factory/support/ManagedList<Lorg/springframework/beans/factory/support/RootBeanDefinition;>;
3 4 4 element Lorg/w3c/dom/Element;
Signature: (Ljava/util/List<Lorg/w3c/dom/Element;>;Lorg/springframework/beans/factory/xml/ParserContext;)Ljava/util/List<Lorg/springframework/beans/factory/support/RootBeanDefinition;>;
MethodParameters:
Name Flags
definitions
parserContext
private org.springframework.beans.factory.support.RootBeanDefinition parseDefinitionSource(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/RootBeanDefinition;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=15, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.cache.config.CacheAdviceParser$Props
dup
aload 1
invokespecial org.springframework.cache.config.CacheAdviceParser$Props.<init>:(Lorg/w3c/dom/Element;)V
astore 3
start local 3 1: new org.springframework.beans.factory.support.ManagedMap
dup
invokespecial org.springframework.beans.factory.support.ManagedMap.<init>:()V
astore 4
start local 4 2: aload 4
aload 2
aload 1
invokevirtual org.springframework.beans.factory.xml.ParserContext.extractSource:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.springframework.beans.factory.support.ManagedMap.setSource:(Ljava/lang/Object;)V
3: aload 1
ldc "cacheable"
invokestatic org.springframework.util.xml.DomUtils.getChildElementsByTagName:(Lorg/w3c/dom/Element;Ljava/lang/String;)Ljava/util/List;
astore 5
start local 5 4: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 19
StackMap locals: org.springframework.cache.config.CacheAdviceParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.cache.config.CacheAdviceParser$Props org.springframework.beans.factory.support.ManagedMap java.util.List top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Element
astore 6
start local 6 6: aload 3
aload 6
aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
invokevirtual org.springframework.cache.config.CacheAdviceParser$Props.merge:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/parsing/ReaderContext;)Ljava/lang/String;
astore 8
start local 8 7: new org.springframework.beans.factory.config.TypedStringValue
dup
aload 8
invokespecial org.springframework.beans.factory.config.TypedStringValue.<init>:(Ljava/lang/String;)V
astore 9
start local 9 8: aload 9
aload 2
aload 6
invokevirtual org.springframework.beans.factory.xml.ParserContext.extractSource:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.springframework.beans.factory.config.TypedStringValue.setSource:(Ljava/lang/Object;)V
9: aload 3
aload 6
10: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
new org.springframework.cache.interceptor.CacheableOperation$Builder
dup
invokespecial org.springframework.cache.interceptor.CacheableOperation$Builder.<init>:()V
11: invokevirtual org.springframework.cache.config.CacheAdviceParser$Props.merge:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/parsing/ReaderContext;Lorg/springframework/cache/interceptor/CacheOperation$Builder;)Lorg/springframework/cache/interceptor/CacheOperation$Builder;
checkcast org.springframework.cache.interceptor.CacheableOperation$Builder
astore 10
start local 10 12: aload 10
aload 6
ldc "unless"
ldc ""
invokestatic org.springframework.cache.config.CacheAdviceParser.getAttributeValue:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.springframework.cache.interceptor.CacheableOperation$Builder.setUnless:(Ljava/lang/String;)V
13: aload 10
aload 6
ldc "sync"
ldc "false"
invokestatic org.springframework.cache.config.CacheAdviceParser.getAttributeValue:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual org.springframework.cache.interceptor.CacheableOperation$Builder.setSync:(Z)V
14: aload 4
aload 9
invokevirtual org.springframework.beans.factory.support.ManagedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 11
start local 11 15: aload 11
ifnonnull 18
16: new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
astore 11
17: aload 4
aload 9
aload 11
invokevirtual org.springframework.beans.factory.support.ManagedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: StackMap locals: org.springframework.cache.config.CacheAdviceParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.cache.config.CacheAdviceParser$Props org.springframework.beans.factory.support.ManagedMap java.util.List org.w3c.dom.Element java.util.Iterator java.lang.String org.springframework.beans.factory.config.TypedStringValue org.springframework.cache.interceptor.CacheableOperation$Builder java.util.Collection
StackMap stack:
aload 11
aload 10
invokevirtual org.springframework.cache.interceptor.CacheableOperation$Builder.build:()Lorg/springframework/cache/interceptor/CacheableOperation;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 10 end local 9 end local 8 end local 6 19: StackMap locals: org.springframework.cache.config.CacheAdviceParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.cache.config.CacheAdviceParser$Props org.springframework.beans.factory.support.ManagedMap java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
20: aload 1
ldc "cache-evict"
invokestatic org.springframework.util.xml.DomUtils.getChildElementsByTagName:(Lorg/w3c/dom/Element;Ljava/lang/String;)Ljava/util/List;
astore 6
start local 6 21: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 40
StackMap locals: org.springframework.cache.config.CacheAdviceParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.cache.config.CacheAdviceParser$Props org.springframework.beans.factory.support.ManagedMap java.util.List java.util.List top java.util.Iterator
StackMap stack:
22: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Element
astore 7
start local 7 23: aload 3
aload 7
aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
invokevirtual org.springframework.cache.config.CacheAdviceParser$Props.merge:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/parsing/ReaderContext;)Ljava/lang/String;
astore 9
start local 9 24: new org.springframework.beans.factory.config.TypedStringValue
dup
aload 9
invokespecial org.springframework.beans.factory.config.TypedStringValue.<init>:(Ljava/lang/String;)V
astore 10
start local 10 25: aload 10
aload 2
aload 7
invokevirtual org.springframework.beans.factory.xml.ParserContext.extractSource:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.springframework.beans.factory.config.TypedStringValue.setSource:(Ljava/lang/Object;)V
26: aload 3
aload 7
27: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
new org.springframework.cache.interceptor.CacheEvictOperation$Builder
dup
invokespecial org.springframework.cache.interceptor.CacheEvictOperation$Builder.<init>:()V
28: invokevirtual org.springframework.cache.config.CacheAdviceParser$Props.merge:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/parsing/ReaderContext;Lorg/springframework/cache/interceptor/CacheOperation$Builder;)Lorg/springframework/cache/interceptor/CacheOperation$Builder;
checkcast org.springframework.cache.interceptor.CacheEvictOperation$Builder
astore 11
start local 11 29: aload 7
ldc "all-entries"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 12
start local 12 30: aload 12
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 32
31: aload 11
aload 12
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual org.springframework.cache.interceptor.CacheEvictOperation$Builder.setCacheWide:(Z)V
32: StackMap locals: org.springframework.cache.config.CacheAdviceParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.cache.config.CacheAdviceParser$Props org.springframework.beans.factory.support.ManagedMap java.util.List java.util.List org.w3c.dom.Element java.util.Iterator java.lang.String org.springframework.beans.factory.config.TypedStringValue org.springframework.cache.interceptor.CacheEvictOperation$Builder java.lang.String
StackMap stack:
aload 7
ldc "before-invocation"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 13
start local 13 33: aload 13
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 35
34: aload 11
aload 13
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual org.springframework.cache.interceptor.CacheEvictOperation$Builder.setBeforeInvocation:(Z)V
35: StackMap locals: java.lang.String
StackMap stack:
aload 4
aload 10
invokevirtual org.springframework.beans.factory.support.ManagedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 14
start local 14 36: aload 14
ifnonnull 39
37: new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
astore 14
38: aload 4
aload 10
aload 14
invokevirtual org.springframework.beans.factory.support.ManagedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
39: StackMap locals: java.util.Collection
StackMap stack:
aload 14
aload 11
invokevirtual org.springframework.cache.interceptor.CacheEvictOperation$Builder.build:()Lorg/springframework/cache/interceptor/CacheEvictOperation;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 7 40: StackMap locals: org.springframework.cache.config.CacheAdviceParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.cache.config.CacheAdviceParser$Props org.springframework.beans.factory.support.ManagedMap java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
41: aload 1
ldc "cache-put"
invokestatic org.springframework.util.xml.DomUtils.getChildElementsByTagName:(Lorg/w3c/dom/Element;Ljava/lang/String;)Ljava/util/List;
astore 7
start local 7 42: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 56
StackMap locals: org.springframework.cache.config.CacheAdviceParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.cache.config.CacheAdviceParser$Props org.springframework.beans.factory.support.ManagedMap java.util.List java.util.List java.util.List top java.util.Iterator
StackMap stack:
43: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Element
astore 8
start local 8 44: aload 3
aload 8
aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
invokevirtual org.springframework.cache.config.CacheAdviceParser$Props.merge:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/parsing/ReaderContext;)Ljava/lang/String;
astore 10
start local 10 45: new org.springframework.beans.factory.config.TypedStringValue
dup
aload 10
invokespecial org.springframework.beans.factory.config.TypedStringValue.<init>:(Ljava/lang/String;)V
astore 11
start local 11 46: aload 11
aload 2
aload 8
invokevirtual org.springframework.beans.factory.xml.ParserContext.extractSource:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.springframework.beans.factory.config.TypedStringValue.setSource:(Ljava/lang/Object;)V
47: aload 3
aload 8
48: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
new org.springframework.cache.interceptor.CachePutOperation$Builder
dup
invokespecial org.springframework.cache.interceptor.CachePutOperation$Builder.<init>:()V
49: invokevirtual org.springframework.cache.config.CacheAdviceParser$Props.merge:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/parsing/ReaderContext;Lorg/springframework/cache/interceptor/CacheOperation$Builder;)Lorg/springframework/cache/interceptor/CacheOperation$Builder;
checkcast org.springframework.cache.interceptor.CachePutOperation$Builder
astore 12
start local 12 50: aload 12
aload 8
ldc "unless"
ldc ""
invokestatic org.springframework.cache.config.CacheAdviceParser.getAttributeValue:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.springframework.cache.interceptor.CachePutOperation$Builder.setUnless:(Ljava/lang/String;)V
51: aload 4
aload 11
invokevirtual org.springframework.beans.factory.support.ManagedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 13
start local 13 52: aload 13
ifnonnull 55
53: new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
astore 13
54: aload 4
aload 11
aload 13
invokevirtual org.springframework.beans.factory.support.ManagedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
55: StackMap locals: org.springframework.cache.config.CacheAdviceParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.cache.config.CacheAdviceParser$Props org.springframework.beans.factory.support.ManagedMap java.util.List java.util.List java.util.List org.w3c.dom.Element java.util.Iterator java.lang.String org.springframework.beans.factory.config.TypedStringValue org.springframework.cache.interceptor.CachePutOperation$Builder java.util.Collection
StackMap stack:
aload 13
aload 12
invokevirtual org.springframework.cache.interceptor.CachePutOperation$Builder.build:()Lorg/springframework/cache/interceptor/CachePutOperation;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 13 end local 12 end local 11 end local 10 end local 8 56: StackMap locals: org.springframework.cache.config.CacheAdviceParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext org.springframework.cache.config.CacheAdviceParser$Props org.springframework.beans.factory.support.ManagedMap java.util.List java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 43
57: new org.springframework.beans.factory.support.RootBeanDefinition
dup
ldc Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
invokespecial org.springframework.beans.factory.support.RootBeanDefinition.<init>:(Ljava/lang/Class;)V
astore 8
start local 8 58: aload 8
aload 2
aload 1
invokevirtual org.springframework.beans.factory.xml.ParserContext.extractSource:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.springframework.beans.factory.support.RootBeanDefinition.setSource:(Ljava/lang/Object;)V
59: aload 8
invokevirtual org.springframework.beans.factory.support.RootBeanDefinition.getPropertyValues:()Lorg/springframework/beans/MutablePropertyValues;
ldc "nameMap"
aload 4
invokevirtual org.springframework.beans.MutablePropertyValues.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/MutablePropertyValues;
pop
60: aload 8
areturn
end local 8 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 61 0 this Lorg/springframework/cache/config/CacheAdviceParser;
0 61 1 definition Lorg/w3c/dom/Element;
0 61 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
1 61 3 prop Lorg/springframework/cache/config/CacheAdviceParser$Props;
2 61 4 cacheOpMap Lorg/springframework/beans/factory/support/ManagedMap<Lorg/springframework/beans/factory/config/TypedStringValue;Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;>;
4 61 5 cacheableCacheMethods Ljava/util/List<Lorg/w3c/dom/Element;>;
6 19 6 opElement Lorg/w3c/dom/Element;
7 19 8 name Ljava/lang/String;
8 19 9 nameHolder Lorg/springframework/beans/factory/config/TypedStringValue;
12 19 10 builder Lorg/springframework/cache/interceptor/CacheableOperation$Builder;
15 19 11 col Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
21 61 6 evictCacheMethods Ljava/util/List<Lorg/w3c/dom/Element;>;
23 40 7 opElement Lorg/w3c/dom/Element;
24 40 9 name Ljava/lang/String;
25 40 10 nameHolder Lorg/springframework/beans/factory/config/TypedStringValue;
29 40 11 builder Lorg/springframework/cache/interceptor/CacheEvictOperation$Builder;
30 40 12 wide Ljava/lang/String;
33 40 13 after Ljava/lang/String;
36 40 14 col Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
42 61 7 putCacheMethods Ljava/util/List<Lorg/w3c/dom/Element;>;
44 56 8 opElement Lorg/w3c/dom/Element;
45 56 10 name Ljava/lang/String;
46 56 11 nameHolder Lorg/springframework/beans/factory/config/TypedStringValue;
50 56 12 builder Lorg/springframework/cache/interceptor/CachePutOperation$Builder;
52 56 13 col Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
58 61 8 attributeSourceDefinition Lorg/springframework/beans/factory/support/RootBeanDefinition;
MethodParameters:
Name Flags
definition
parserContext
private static java.lang.String getAttributeValue(org.w3c.dom.Element, java.lang.String, java.lang.String);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 3
2: aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 element Lorg/w3c/dom/Element;
0 4 1 attributeName Ljava/lang/String;
0 4 2 defaultValue Ljava/lang/String;
1 4 3 attribute Ljava/lang/String;
MethodParameters:
Name Flags
element
attributeName
defaultValue
}
SourceFile: "CacheAdviceParser.java"
NestMembers:
org.springframework.cache.config.CacheAdviceParser$Props
InnerClasses:
private Props = org.springframework.cache.config.CacheAdviceParser$Props of org.springframework.cache.config.CacheAdviceParser
public Builder = org.springframework.cache.interceptor.CacheEvictOperation$Builder of org.springframework.cache.interceptor.CacheEvictOperation
public abstract Builder = org.springframework.cache.interceptor.CacheOperation$Builder of org.springframework.cache.interceptor.CacheOperation
public Builder = org.springframework.cache.interceptor.CachePutOperation$Builder of org.springframework.cache.interceptor.CachePutOperation
public Builder = org.springframework.cache.interceptor.CacheableOperation$Builder of org.springframework.cache.interceptor.CacheableOperation