class org.springframework.cache.config.CacheAdviceParser$Props
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.cache.config.CacheAdviceParser$Props
super_class: java.lang.Object
{
private java.lang.String key;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String keyGenerator;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String cacheManager;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String condition;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String method;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] caches;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
void <init>(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 // org.springframework.cache.config.CacheAdviceParser$Props this
start local 1 // org.w3c.dom.Element root
0: .line 203
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 204
aload 1 /* root */
ldc "cache"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 2 /* defaultCache */
start local 2 // java.lang.String defaultCache
2: .line 205
aload 0 /* this */
aload 1 /* root */
ldc "key"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
putfield org.springframework.cache.config.CacheAdviceParser$Props.key:Ljava/lang/String;
3: .line 206
aload 0 /* this */
aload 1 /* root */
ldc "key-generator"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
putfield org.springframework.cache.config.CacheAdviceParser$Props.keyGenerator:Ljava/lang/String;
4: .line 207
aload 0 /* this */
aload 1 /* root */
ldc "cache-manager"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
putfield org.springframework.cache.config.CacheAdviceParser$Props.cacheManager:Ljava/lang/String;
5: .line 208
aload 0 /* this */
aload 1 /* root */
ldc "condition"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
putfield org.springframework.cache.config.CacheAdviceParser$Props.condition:Ljava/lang/String;
6: .line 209
aload 0 /* this */
aload 1 /* root */
ldc "method"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
putfield org.springframework.cache.config.CacheAdviceParser$Props.method:Ljava/lang/String;
7: .line 211
aload 2 /* defaultCache */
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 9
8: .line 212
aload 0 /* this */
aload 2 /* defaultCache */
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.commaDelimitedListToStringArray:(Ljava/lang/String;)[Ljava/lang/String;
putfield org.springframework.cache.config.CacheAdviceParser$Props.caches:[Ljava/lang/String;
9: .line 214
StackMap locals: org.springframework.cache.config.CacheAdviceParser$Props org.w3c.dom.Element java.lang.String
StackMap stack:
return
end local 2 // java.lang.String defaultCache
end local 1 // org.w3c.dom.Element root
end local 0 // org.springframework.cache.config.CacheAdviceParser$Props this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/cache/config/CacheAdviceParser$Props;
0 10 1 root Lorg/w3c/dom/Element;
2 10 2 defaultCache Ljava/lang/String;
MethodParameters:
Name Flags
root
<T extends org.springframework.cache.interceptor.CacheOperation$Builder> T merge(org.w3c.dom.Element, org.springframework.beans.factory.parsing.ReaderContext, );
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/parsing/ReaderContext;Lorg/springframework/cache/interceptor/CacheOperation$Builder;)Lorg/springframework/cache/interceptor/CacheOperation$Builder;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=4
start local 0 // org.springframework.cache.config.CacheAdviceParser$Props this
start local 1 // org.w3c.dom.Element element
start local 2 // org.springframework.beans.factory.parsing.ReaderContext readerCtx
start local 3 // org.springframework.cache.interceptor.CacheOperation$Builder builder
0: .line 217
aload 1 /* element */
ldc "cache"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 4 /* cache */
start local 4 // java.lang.String cache
1: .line 220
aload 0 /* this */
getfield org.springframework.cache.config.CacheAdviceParser$Props.caches:[Ljava/lang/String;
astore 5 /* localCaches */
start local 5 // java.lang.String[] localCaches
2: .line 221
aload 4 /* cache */
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 4
3: .line 222
aload 4 /* cache */
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.commaDelimitedListToStringArray:(Ljava/lang/String;)[Ljava/lang/String;
astore 5 /* localCaches */
4: .line 224
StackMap locals: java.lang.String java.lang.String[]
StackMap stack:
aload 5 /* localCaches */
ifnull 7
5: .line 225
aload 3 /* builder */
aload 5 /* localCaches */
invokevirtual org.springframework.cache.interceptor.CacheOperation$Builder.setCacheNames:([Ljava/lang/String;)V
6: .line 226
goto 8
7: .line 228
StackMap locals:
StackMap stack:
aload 2 /* readerCtx */
new java.lang.StringBuilder
dup
ldc "No cache specified for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* element */
invokeinterface org.w3c.dom.Element.getNodeName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1 /* element */
invokevirtual org.springframework.beans.factory.parsing.ReaderContext.error:(Ljava/lang/String;Ljava/lang/Object;)V
8: .line 231
StackMap locals:
StackMap stack:
aload 3 /* builder */
aload 1 /* element */
ldc "key"
aload 0 /* this */
getfield org.springframework.cache.config.CacheAdviceParser$Props.key:Ljava/lang/String;
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.CacheOperation$Builder.setKey:(Ljava/lang/String;)V
9: .line 232
aload 3 /* builder */
aload 1 /* element */
ldc "key-generator"
aload 0 /* this */
getfield org.springframework.cache.config.CacheAdviceParser$Props.keyGenerator:Ljava/lang/String;
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.CacheOperation$Builder.setKeyGenerator:(Ljava/lang/String;)V
10: .line 233
aload 3 /* builder */
aload 1 /* element */
ldc "cache-manager"
aload 0 /* this */
getfield org.springframework.cache.config.CacheAdviceParser$Props.cacheManager:Ljava/lang/String;
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.CacheOperation$Builder.setCacheManager:(Ljava/lang/String;)V
11: .line 234
aload 3 /* builder */
aload 1 /* element */
ldc "condition"
aload 0 /* this */
getfield org.springframework.cache.config.CacheAdviceParser$Props.condition:Ljava/lang/String;
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.CacheOperation$Builder.setCondition:(Ljava/lang/String;)V
12: .line 236
aload 3 /* builder */
invokevirtual org.springframework.cache.interceptor.CacheOperation$Builder.getKey:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 18
aload 3 /* builder */
invokevirtual org.springframework.cache.interceptor.CacheOperation$Builder.getKeyGenerator:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 18
13: .line 237
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Invalid cache advice configuration on '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: .line 238
aload 1 /* element */
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'. Both 'key' and 'keyGenerator' attributes have been set. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: .line 239
ldc "These attributes are mutually exclusive: either set the SpEL expression used to"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: .line 240
ldc "compute the key at runtime or set the name of the KeyGenerator bean to use."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: .line 237
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
18: .line 243
StackMap locals:
StackMap stack:
aload 3 /* builder */
areturn
end local 5 // java.lang.String[] localCaches
end local 4 // java.lang.String cache
end local 3 // org.springframework.cache.interceptor.CacheOperation$Builder builder
end local 2 // org.springframework.beans.factory.parsing.ReaderContext readerCtx
end local 1 // org.w3c.dom.Element element
end local 0 // org.springframework.cache.config.CacheAdviceParser$Props this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/springframework/cache/config/CacheAdviceParser$Props;
0 19 1 element Lorg/w3c/dom/Element;
0 19 2 readerCtx Lorg/springframework/beans/factory/parsing/ReaderContext;
0 19 3 builder TT;
1 19 4 cache Ljava/lang/String;
2 19 5 localCaches [Ljava/lang/String;
Signature: <T:Lorg/springframework/cache/interceptor/CacheOperation$Builder;>(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/parsing/ReaderContext;TT;)TT;
MethodParameters:
Name Flags
element
readerCtx
builder
java.lang.String merge(org.w3c.dom.Element, org.springframework.beans.factory.parsing.ReaderContext);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/parsing/ReaderContext;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 // org.springframework.cache.config.CacheAdviceParser$Props this
start local 1 // org.w3c.dom.Element element
start local 2 // org.springframework.beans.factory.parsing.ReaderContext readerCtx
0: .line 248
aload 1 /* element */
ldc "method"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 3 /* method */
start local 3 // java.lang.String method
1: .line 249
aload 3 /* method */
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 3
2: .line 250
aload 3 /* method */
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
3: .line 252
StackMap locals: java.lang.String
StackMap stack:
aload 0 /* this */
getfield org.springframework.cache.config.CacheAdviceParser$Props.method:Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 5
4: .line 253
aload 0 /* this */
getfield org.springframework.cache.config.CacheAdviceParser$Props.method:Ljava/lang/String;
areturn
5: .line 255
StackMap locals:
StackMap stack:
aload 2 /* readerCtx */
new java.lang.StringBuilder
dup
ldc "No method specified for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* element */
invokeinterface org.w3c.dom.Element.getNodeName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1 /* element */
invokevirtual org.springframework.beans.factory.parsing.ReaderContext.error:(Ljava/lang/String;Ljava/lang/Object;)V
6: .line 256
aconst_null
areturn
end local 3 // java.lang.String method
end local 2 // org.springframework.beans.factory.parsing.ReaderContext readerCtx
end local 1 // org.w3c.dom.Element element
end local 0 // org.springframework.cache.config.CacheAdviceParser$Props this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/cache/config/CacheAdviceParser$Props;
0 7 1 element Lorg/w3c/dom/Element;
0 7 2 readerCtx Lorg/springframework/beans/factory/parsing/ReaderContext;
1 7 3 method Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
element
readerCtx
}
SourceFile: "CacheAdviceParser.java"
NestHost: org.springframework.cache.config.CacheAdviceParser
InnerClasses:
private Props = org.springframework.cache.config.CacheAdviceParser$Props of org.springframework.cache.config.CacheAdviceParser
public abstract Builder = org.springframework.cache.interceptor.CacheOperation$Builder of org.springframework.cache.interceptor.CacheOperation