public abstract class org.springframework.cache.interceptor.CacheAspectSupport extends org.springframework.cache.interceptor.AbstractCacheInvoker implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.SmartInitializingSingleton
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.cache.interceptor.CacheAspectSupport
super_class: org.springframework.cache.interceptor.AbstractCacheInvoker
{
protected final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final java.util.Map<org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationCacheKey, org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata> metadataCache;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationCacheKey;Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;>;
private final org.springframework.cache.interceptor.CacheOperationExpressionEvaluator evaluator;
descriptor: Lorg/springframework/cache/interceptor/CacheOperationExpressionEvaluator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.springframework.cache.interceptor.CacheOperationSource cacheOperationSource;
descriptor: Lorg/springframework/cache/interceptor/CacheOperationSource;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.util.function.SingletonSupplier<org.springframework.cache.interceptor.KeyGenerator> keyGenerator;
descriptor: Lorg/springframework/util/function/SingletonSupplier;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/springframework/util/function/SingletonSupplier<Lorg/springframework/cache/interceptor/KeyGenerator;>;
private org.springframework.util.function.SingletonSupplier<org.springframework.cache.interceptor.CacheResolver> cacheResolver;
descriptor: Lorg/springframework/util/function/SingletonSupplier;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/springframework/util/function/SingletonSupplier<Lorg/springframework/cache/interceptor/CacheResolver;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.beans.factory.BeanFactory beanFactory;
descriptor: Lorg/springframework/beans/factory/BeanFactory;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean initialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.cache.interceptor.AbstractCacheInvoker.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
sipush 1024
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putfield org.springframework.cache.interceptor.CacheAspectSupport.metadataCache:Ljava/util/Map;
3: aload 0
new org.springframework.cache.interceptor.CacheOperationExpressionEvaluator
dup
invokespecial org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.<init>:()V
putfield org.springframework.cache.interceptor.CacheAspectSupport.evaluator:Lorg/springframework/cache/interceptor/CacheOperationExpressionEvaluator;
4: aload 0
invokedynamic get()Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/cache/interceptor/SimpleKeyGenerator.<init>()V (8)
()Lorg/springframework/cache/interceptor/KeyGenerator;
invokestatic org.springframework.util.function.SingletonSupplier.of:(Ljava/util/function/Supplier;)Lorg/springframework/util/function/SingletonSupplier;
putfield org.springframework.cache.interceptor.CacheAspectSupport.keyGenerator:Lorg/springframework/util/function/SingletonSupplier;
5: aload 0
iconst_0
putfield org.springframework.cache.interceptor.CacheAspectSupport.initialized:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
public void configure(java.util.function.Supplier<org.springframework.cache.interceptor.CacheErrorHandler>, java.util.function.Supplier<org.springframework.cache.interceptor.KeyGenerator>, java.util.function.Supplier<org.springframework.cache.interceptor.CacheResolver>, java.util.function.Supplier<org.springframework.cache.CacheManager>);
descriptor: (Ljava/util/function/Supplier;Ljava/util/function/Supplier;Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
new org.springframework.util.function.SingletonSupplier
dup
aload 1
invokedynamic get()Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/cache/interceptor/SimpleCacheErrorHandler.<init>()V (8)
()Lorg/springframework/cache/interceptor/CacheErrorHandler;
invokespecial org.springframework.util.function.SingletonSupplier.<init>:(Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V
putfield org.springframework.cache.interceptor.CacheAspectSupport.errorHandler:Lorg/springframework/util/function/SingletonSupplier;
1: aload 0
new org.springframework.util.function.SingletonSupplier
dup
aload 2
invokedynamic get()Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/cache/interceptor/SimpleKeyGenerator.<init>()V (8)
()Lorg/springframework/cache/interceptor/KeyGenerator;
invokespecial org.springframework.util.function.SingletonSupplier.<init>:(Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V
putfield org.springframework.cache.interceptor.CacheAspectSupport.keyGenerator:Lorg/springframework/util/function/SingletonSupplier;
2: aload 0
new org.springframework.util.function.SingletonSupplier
dup
aload 3
3: aload 4
invokedynamic get(Ljava/util/function/Supplier;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/cache/interceptor/CacheAspectSupport.lambda$3(Ljava/util/function/Supplier;)Lorg/springframework/cache/interceptor/CacheResolver; (6)
()Lorg/springframework/cache/interceptor/CacheResolver;
invokespecial org.springframework.util.function.SingletonSupplier.<init>:(Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V
4: putfield org.springframework.cache.interceptor.CacheAspectSupport.cacheResolver:Lorg/springframework/util/function/SingletonSupplier;
5: return
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/cache/interceptor/CacheAspectSupport;
0 6 1 errorHandler Ljava/util/function/Supplier<Lorg/springframework/cache/interceptor/CacheErrorHandler;>;
0 6 2 keyGenerator Ljava/util/function/Supplier<Lorg/springframework/cache/interceptor/KeyGenerator;>;
0 6 3 cacheResolver Ljava/util/function/Supplier<Lorg/springframework/cache/interceptor/CacheResolver;>;
0 6 4 cacheManager Ljava/util/function/Supplier<Lorg/springframework/cache/CacheManager;>;
Signature: (Ljava/util/function/Supplier<Lorg/springframework/cache/interceptor/CacheErrorHandler;>;Ljava/util/function/Supplier<Lorg/springframework/cache/interceptor/KeyGenerator;>;Ljava/util/function/Supplier<Lorg/springframework/cache/interceptor/CacheResolver;>;Ljava/util/function/Supplier<Lorg/springframework/cache/CacheManager;>;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
2:
org.springframework.lang.Nullable()
3:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
errorHandler
keyGenerator
cacheResolver
cacheManager
public void setCacheOperationSources(org.springframework.cache.interceptor.CacheOperationSource[]);
descriptor: ([Lorg/springframework/cache/interceptor/CacheOperationSource;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "At least 1 CacheOperationSource needs to be specified"
invokestatic org.springframework.util.Assert.notEmpty:([Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
arraylength
iconst_1
if_icmple 3
2: new org.springframework.cache.interceptor.CompositeCacheOperationSource
dup
aload 1
invokespecial org.springframework.cache.interceptor.CompositeCacheOperationSource.<init>:([Lorg/springframework/cache/interceptor/CacheOperationSource;)V
goto 4
StackMap locals:
StackMap stack: org.springframework.cache.interceptor.CacheAspectSupport
3: aload 1
iconst_0
aaload
4: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheOperationSource[]
StackMap stack: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheOperationSource
putfield org.springframework.cache.interceptor.CacheAspectSupport.cacheOperationSource:Lorg/springframework/cache/interceptor/CacheOperationSource;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 6 1 cacheOperationSources [Lorg/springframework/cache/interceptor/CacheOperationSource;
MethodParameters:
Name Flags
cacheOperationSources
public void setCacheOperationSource(org.springframework.cache.interceptor.CacheOperationSource);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperationSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.cache.interceptor.CacheAspectSupport.cacheOperationSource:Lorg/springframework/cache/interceptor/CacheOperationSource;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 2 1 cacheOperationSource Lorg/springframework/cache/interceptor/CacheOperationSource;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
cacheOperationSource
public org.springframework.cache.interceptor.CacheOperationSource getCacheOperationSource();
descriptor: ()Lorg/springframework/cache/interceptor/CacheOperationSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.cacheOperationSource:Lorg/springframework/cache/interceptor/CacheOperationSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setKeyGenerator(org.springframework.cache.interceptor.KeyGenerator);
descriptor: (Lorg/springframework/cache/interceptor/KeyGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.springframework.util.function.SingletonSupplier.of:(Ljava/lang/Object;)Lorg/springframework/util/function/SingletonSupplier;
putfield org.springframework.cache.interceptor.CacheAspectSupport.keyGenerator:Lorg/springframework/util/function/SingletonSupplier;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 2 1 keyGenerator Lorg/springframework/cache/interceptor/KeyGenerator;
MethodParameters:
Name Flags
keyGenerator
public org.springframework.cache.interceptor.KeyGenerator getKeyGenerator();
descriptor: ()Lorg/springframework/cache/interceptor/KeyGenerator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.keyGenerator:Lorg/springframework/util/function/SingletonSupplier;
invokevirtual org.springframework.util.function.SingletonSupplier.obtain:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.KeyGenerator
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
public void setCacheResolver(org.springframework.cache.interceptor.CacheResolver);
descriptor: (Lorg/springframework/cache/interceptor/CacheResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.springframework.util.function.SingletonSupplier.ofNullable:(Ljava/lang/Object;)Lorg/springframework/util/function/SingletonSupplier;
putfield org.springframework.cache.interceptor.CacheAspectSupport.cacheResolver:Lorg/springframework/util/function/SingletonSupplier;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 2 1 cacheResolver Lorg/springframework/cache/interceptor/CacheResolver;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
cacheResolver
public org.springframework.cache.interceptor.CacheResolver getCacheResolver();
descriptor: ()Lorg/springframework/cache/interceptor/CacheResolver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.cacheResolver:Lorg/springframework/util/function/SingletonSupplier;
invokestatic org.springframework.util.function.SupplierUtils.resolve:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheResolver
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setCacheManager(org.springframework.cache.CacheManager);
descriptor: (Lorg/springframework/cache/CacheManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.springframework.cache.interceptor.SimpleCacheResolver
dup
aload 1
invokespecial org.springframework.cache.interceptor.SimpleCacheResolver.<init>:(Lorg/springframework/cache/CacheManager;)V
invokestatic org.springframework.util.function.SingletonSupplier.of:(Ljava/lang/Object;)Lorg/springframework/util/function/SingletonSupplier;
putfield org.springframework.cache.interceptor.CacheAspectSupport.cacheResolver:Lorg/springframework/util/function/SingletonSupplier;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 2 1 cacheManager Lorg/springframework/cache/CacheManager;
MethodParameters:
Name Flags
cacheManager
public void setBeanFactory(org.springframework.beans.factory.BeanFactory);
descriptor: (Lorg/springframework/beans/factory/BeanFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.cache.interceptor.CacheAspectSupport.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 2 1 beanFactory Lorg/springframework/beans/factory/BeanFactory;
MethodParameters:
Name Flags
beanFactory
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getCacheOperationSource:()Lorg/springframework/cache/interceptor/CacheOperationSource;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "The 'cacheOperationSources' property is required: If there are no cacheable methods, then don't use a cache aspect."
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
public void afterSingletonsInstantiated();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getCacheResolver:()Lorg/springframework/cache/interceptor/CacheResolver;
ifnonnull 10
1: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
ifnull 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "CacheResolver or BeanFactory must be set on cache aspect"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: aload 0
aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
ldc Lorg/springframework/cache/CacheManager;
invokeinterface org.springframework.beans.factory.BeanFactory.getBean:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.cache.CacheManager
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.setCacheManager:(Lorg/springframework/cache/CacheManager;)V
5: goto 10
6: StackMap locals:
StackMap stack: org.springframework.beans.factory.NoUniqueBeanDefinitionException
pop
7: new java.lang.IllegalStateException
dup
ldc "No CacheResolver specified, and no unique bean of type CacheManager found. Mark one as primary or declare a specific CacheManager to use."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack: org.springframework.beans.factory.NoSuchBeanDefinitionException
pop
9: new java.lang.IllegalStateException
dup
ldc "No CacheResolver specified, and no bean of type CacheManager found. Register a CacheManager bean or remove the @EnableCaching annotation from your configuration."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.springframework.cache.interceptor.CacheAspectSupport.initialized:Z
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
Exception table:
from to target type
4 5 6 Class org.springframework.beans.factory.NoUniqueBeanDefinitionException
4 5 8 Class org.springframework.beans.factory.NoSuchBeanDefinitionException
protected java.lang.String methodIdentification(java.lang.reflect.Method, java.lang.Class<?>);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.springframework.util.ClassUtils.getMostSpecificMethod:(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 1: aload 3
invokestatic org.springframework.util.ClassUtils.getQualifiedMethodName:(Ljava/lang/reflect/Method;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 2 1 method Ljava/lang/reflect/Method;
0 2 2 targetClass Ljava/lang/Class<*>;
1 2 3 specificMethod Ljava/lang/reflect/Method;
Signature: (Ljava/lang/reflect/Method;Ljava/lang/Class<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
method
targetClass
protected java.util.Collection<? extends org.springframework.cache.Cache> getCaches(org.springframework.cache.interceptor.CacheOperationInvocationContext<org.springframework.cache.interceptor.CacheOperation>, org.springframework.cache.interceptor.CacheResolver);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperationInvocationContext;Lorg/springframework/cache/interceptor/CacheResolver;)Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface org.springframework.cache.interceptor.CacheResolver.resolveCaches:(Lorg/springframework/cache/interceptor/CacheOperationInvocationContext;)Ljava/util/Collection;
astore 3
start local 3 1: aload 3
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 6
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "No cache could be resolved for '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
invokeinterface org.springframework.cache.interceptor.CacheOperationInvocationContext.getOperation:()Lorg/springframework/cache/interceptor/BasicOperation;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' using resolver '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc "'. At least one cache should be provided per cache operation."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.util.Collection
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 7 1 context Lorg/springframework/cache/interceptor/CacheOperationInvocationContext<Lorg/springframework/cache/interceptor/CacheOperation;>;
0 7 2 cacheResolver Lorg/springframework/cache/interceptor/CacheResolver;
1 7 3 caches Ljava/util/Collection<+Lorg/springframework/cache/Cache;>;
Signature: (Lorg/springframework/cache/interceptor/CacheOperationInvocationContext<Lorg/springframework/cache/interceptor/CacheOperation;>;Lorg/springframework/cache/interceptor/CacheResolver;)Ljava/util/Collection<+Lorg/springframework/cache/Cache;>;
MethodParameters:
Name Flags
context
cacheResolver
protected org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext getOperationContext(org.springframework.cache.interceptor.CacheOperation, java.lang.reflect.Method, [], , java.lang.Class<?>);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperation;Ljava/lang/reflect/Method;[Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;)Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 5
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getCacheOperationMetadata:(Lorg/springframework/cache/interceptor/CacheOperation;Ljava/lang/reflect/Method;Ljava/lang/Class;)Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
astore 6
start local 6 1: new org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext
dup
aload 0
aload 6
aload 3
aload 4
invokespecial org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.<init>:(Lorg/springframework/cache/interceptor/CacheAspectSupport;Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;[Ljava/lang/Object;Ljava/lang/Object;)V
areturn
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 2 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 2 1 operation Lorg/springframework/cache/interceptor/CacheOperation;
0 2 2 method Ljava/lang/reflect/Method;
0 2 3 args [Ljava/lang/Object;
0 2 4 target Ljava/lang/Object;
0 2 5 targetClass Ljava/lang/Class<*>;
1 2 6 metadata Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
Signature: (Lorg/springframework/cache/interceptor/CacheOperation;Ljava/lang/reflect/Method;[Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class<*>;)Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
MethodParameters:
Name Flags
operation
method
args
target
targetClass
protected org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata getCacheOperationMetadata(org.springframework.cache.interceptor.CacheOperation, java.lang.reflect.Method, java.lang.Class<?>);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperation;Ljava/lang/reflect/Method;Ljava/lang/Class;)Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationCacheKey
dup
aload 1
aload 2
aload 3
invokespecial org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationCacheKey.<init>:(Lorg/springframework/cache/interceptor/CacheOperation;Ljava/lang/reflect/Method;Ljava/lang/Class;)V
astore 4
start local 4 1: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.metadataCache:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata
astore 5
start local 5 2: aload 5
ifnonnull 22
3: aload 1
invokevirtual org.springframework.cache.interceptor.CacheOperation.getKeyGenerator:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
aload 1
invokevirtual org.springframework.cache.interceptor.CacheOperation.getKeyGenerator:()Ljava/lang/String;
ldc Lorg/springframework/cache/interceptor/KeyGenerator;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getBean:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.KeyGenerator
astore 6
start local 6 5: goto 7
end local 6 6: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationCacheKey org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata
StackMap stack:
aload 0
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getKeyGenerator:()Lorg/springframework/cache/interceptor/KeyGenerator;
astore 6
start local 6 7: StackMap locals: org.springframework.cache.interceptor.KeyGenerator
StackMap stack:
aload 1
invokevirtual org.springframework.cache.interceptor.CacheOperation.getCacheResolver:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 10
8: aload 0
aload 1
invokevirtual org.springframework.cache.interceptor.CacheOperation.getCacheResolver:()Ljava/lang/String;
ldc Lorg/springframework/cache/interceptor/CacheResolver;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getBean:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheResolver
astore 7
start local 7 9: goto 18
end local 7 10: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.springframework.cache.interceptor.CacheOperation.getCacheManager:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 14
11: aload 0
aload 1
invokevirtual org.springframework.cache.interceptor.CacheOperation.getCacheManager:()Ljava/lang/String;
ldc Lorg/springframework/cache/CacheManager;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getBean:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.cache.CacheManager
astore 8
start local 8 12: new org.springframework.cache.interceptor.SimpleCacheResolver
dup
aload 8
invokespecial org.springframework.cache.interceptor.SimpleCacheResolver.<init>:(Lorg/springframework/cache/CacheManager;)V
astore 7
end local 8 start local 7 13: goto 18
end local 7 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getCacheResolver:()Lorg/springframework/cache/interceptor/CacheResolver;
astore 7
start local 7 15: aload 7
ifnull 16
iconst_1
goto 17
StackMap locals: org.springframework.cache.interceptor.CacheResolver
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: ldc "No CacheResolver/CacheManager set"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
18: StackMap locals:
StackMap stack:
new org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata
dup
aload 1
aload 2
aload 3
19: aload 6
aload 7
20: invokespecial org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata.<init>:(Lorg/springframework/cache/interceptor/CacheOperation;Ljava/lang/reflect/Method;Ljava/lang/Class;Lorg/springframework/cache/interceptor/KeyGenerator;Lorg/springframework/cache/interceptor/CacheResolver;)V
astore 5
21: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.metadataCache:Ljava/util/Map;
aload 4
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 22: StackMap locals:
StackMap stack:
aload 5
areturn
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 23 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 23 1 operation Lorg/springframework/cache/interceptor/CacheOperation;
0 23 2 method Ljava/lang/reflect/Method;
0 23 3 targetClass Ljava/lang/Class<*>;
1 23 4 cacheKey Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationCacheKey;
2 23 5 metadata Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
5 6 6 operationKeyGenerator Lorg/springframework/cache/interceptor/KeyGenerator;
7 22 6 operationKeyGenerator Lorg/springframework/cache/interceptor/KeyGenerator;
9 10 7 operationCacheResolver Lorg/springframework/cache/interceptor/CacheResolver;
13 14 7 operationCacheResolver Lorg/springframework/cache/interceptor/CacheResolver;
15 22 7 operationCacheResolver Lorg/springframework/cache/interceptor/CacheResolver;
12 13 8 cacheManager Lorg/springframework/cache/CacheManager;
Signature: (Lorg/springframework/cache/interceptor/CacheOperation;Ljava/lang/reflect/Method;Ljava/lang/Class<*>;)Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
MethodParameters:
Name Flags
operation
method
targetClass
protected <T> T getBean(java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
ifnonnull 4
1: new java.lang.IllegalStateException
dup
2: new java.lang.StringBuilder
dup
ldc "BeanFactory must be set on cache aspect for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " retrieval"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
aload 2
aload 1
invokestatic org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils.qualifiedBeanOfType:(Lorg/springframework/beans/factory/BeanFactory;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 5 1 beanName Ljava/lang/String;
0 5 2 expectedType Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
beanName
expectedType
protected void clearMetadataCache();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.metadataCache:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.evaluator:Lorg/springframework/cache/interceptor/CacheOperationExpressionEvaluator;
invokevirtual org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
protected java.lang.Object execute(org.springframework.cache.interceptor.CacheOperationInvoker, java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperationInvoker;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=11, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.initialized:Z
ifeq 9
1: aload 0
aload 2
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getTargetClass:(Ljava/lang/Object;)Ljava/lang/Class;
astore 5
start local 5 2: aload 0
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getCacheOperationSource:()Lorg/springframework/cache/interceptor/CacheOperationSource;
astore 6
start local 6 3: aload 6
ifnull 9
4: aload 6
aload 3
aload 5
invokeinterface org.springframework.cache.interceptor.CacheOperationSource.getCacheOperations:(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/util/Collection;
astore 7
start local 7 5: aload 7
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifne 9
6: aload 0
aload 1
aload 3
7: new org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts
dup
aload 0
aload 7
aload 3
aload 4
aload 2
aload 5
invokespecial org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.<init>:(Lorg/springframework/cache/interceptor/CacheAspectSupport;Ljava/util/Collection;Ljava/lang/reflect/Method;[Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;)V
8: invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.execute:(Lorg/springframework/cache/interceptor/CacheOperationInvoker;Ljava/lang/reflect/Method;Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContexts;)Ljava/lang/Object;
areturn
end local 7 end local 6 end local 5 9: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.springframework.cache.interceptor.CacheOperationInvoker.invoke:()Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 10 1 invoker Lorg/springframework/cache/interceptor/CacheOperationInvoker;
0 10 2 target Ljava/lang/Object;
0 10 3 method Ljava/lang/reflect/Method;
0 10 4 args [Ljava/lang/Object;
2 9 5 targetClass Ljava/lang/Class<*>;
3 9 6 cacheOperationSource Lorg/springframework/cache/interceptor/CacheOperationSource;
5 9 7 operations Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
invoker
target
method
args
protected java.lang.Object invokeOperation(org.springframework.cache.interceptor.CacheOperationInvoker);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperationInvoker;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.cache.interceptor.CacheOperationInvoker.invoke:()Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 1 1 invoker Lorg/springframework/cache/interceptor/CacheOperationInvoker;
MethodParameters:
Name Flags
invoker
private java.lang.Class<?> getTargetClass();
descriptor: (Ljava/lang/Object;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.aop.framework.AopProxyUtils.ultimateTargetClass:(Ljava/lang/Object;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 1 1 target Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
target
private java.lang.Object execute(org.springframework.cache.interceptor.CacheOperationInvoker, java.lang.reflect.Method, org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperationInvoker;Ljava/lang/reflect/Method;Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContexts;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.isSynchronized:()Z
ifeq 10
1: aload 3
ldc Lorg/springframework/cache/interceptor/CacheableOperation;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.get:(Ljava/lang/Class;)Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext
astore 4
start local 4 2: aload 0
aload 4
getstatic org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.NO_RESULT:Ljava/lang/Object;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.isConditionPassing:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Z
ifeq 9
3: aload 0
aload 4
getstatic org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.NO_RESULT:Ljava/lang/Object;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.generateKey:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 4: aload 4
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.getCaches:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.Cache
astore 6
start local 6 5: aload 0
aload 2
aload 6
aload 5
aload 0
aload 1
invokedynamic call(Lorg/springframework/cache/interceptor/CacheAspectSupport;Lorg/springframework/cache/interceptor/CacheOperationInvoker;)Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/cache/interceptor/CacheAspectSupport.lambda$4(Lorg/springframework/cache/interceptor/CacheOperationInvoker;)Ljava/lang/Object; (7)
()Ljava/lang/Object;
invokeinterface org.springframework.cache.Cache.get:(Ljava/lang/Object;Ljava/util/concurrent/Callable;)Ljava/lang/Object;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.wrapCacheValue:(Ljava/lang/reflect/Method;Ljava/lang/Object;)Ljava/lang/Object;
6: areturn
7: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheOperationInvoker java.lang.reflect.Method org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext java.lang.Object org.springframework.cache.Cache
StackMap stack: org.springframework.cache.Cache$ValueRetrievalException
astore 7
start local 7 8: aload 7
invokevirtual org.springframework.cache.Cache$ValueRetrievalException.getCause:()Ljava/lang/Throwable;
checkcast org.springframework.cache.interceptor.CacheOperationInvoker$ThrowableWrapper
athrow
end local 7 end local 6 end local 5 9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation:(Lorg/springframework/cache/interceptor/CacheOperationInvoker;)Ljava/lang/Object;
areturn
end local 4 10: StackMap locals:
StackMap stack:
aload 0
aload 3
ldc Lorg/springframework/cache/interceptor/CacheEvictOperation;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.get:(Ljava/lang/Class;)Ljava/util/Collection;
iconst_1
11: getstatic org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.NO_RESULT:Ljava/lang/Object;
12: invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.processCacheEvicts:(Ljava/util/Collection;ZLjava/lang/Object;)V
13: aload 0
aload 3
ldc Lorg/springframework/cache/interceptor/CacheableOperation;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.get:(Ljava/lang/Class;)Ljava/util/Collection;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.findCachedItem:(Ljava/util/Collection;)Lorg/springframework/cache/Cache$ValueWrapper;
astore 4
start local 4 14: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 5
start local 5 15: aload 4
ifnonnull 19
16: aload 0
aload 3
ldc Lorg/springframework/cache/interceptor/CacheableOperation;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.get:(Ljava/lang/Class;)Ljava/util/Collection;
17: getstatic org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.NO_RESULT:Ljava/lang/Object;
aload 5
18: invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.collectPutRequests:(Ljava/util/Collection;Ljava/lang/Object;Ljava/util/Collection;)V
19: StackMap locals: org.springframework.cache.Cache$ValueWrapper java.util.List
StackMap stack:
aload 4
ifnull 23
aload 0
aload 3
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.hasCachePut:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContexts;)Z
ifne 23
20: aload 4
invokeinterface org.springframework.cache.Cache$ValueWrapper.get:()Ljava/lang/Object;
astore 6
start local 6 21: aload 0
aload 2
aload 6
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.wrapCacheValue:(Ljava/lang/reflect/Method;Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 22: goto 25
end local 7 end local 6 23: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation:(Lorg/springframework/cache/interceptor/CacheOperationInvoker;)Ljava/lang/Object;
astore 7
start local 7 24: aload 0
aload 7
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.unwrapReturnValue:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 25: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 0
aload 3
ldc Lorg/springframework/cache/interceptor/CachePutOperation;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.get:(Ljava/lang/Class;)Ljava/util/Collection;
aload 6
aload 5
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.collectPutRequests:(Ljava/util/Collection;Ljava/lang/Object;Ljava/util/Collection;)V
26: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 29
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheOperationInvoker java.lang.reflect.Method org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts org.springframework.cache.Cache$ValueWrapper java.util.List java.lang.Object java.lang.Object top java.util.Iterator
StackMap stack:
27: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest
astore 8
start local 8 28: aload 8
aload 6
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest.apply:(Ljava/lang/Object;)V
end local 8 29: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
30: aload 0
aload 3
ldc Lorg/springframework/cache/interceptor/CacheEvictOperation;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.get:(Ljava/lang/Class;)Ljava/util/Collection;
iconst_0
aload 6
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.processCacheEvicts:(Ljava/util/Collection;ZLjava/lang/Object;)V
31: aload 7
areturn
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 32 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 32 1 invoker Lorg/springframework/cache/interceptor/CacheOperationInvoker;
0 32 2 method Ljava/lang/reflect/Method;
0 32 3 contexts Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContexts;
2 10 4 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
4 9 5 key Ljava/lang/Object;
5 9 6 cache Lorg/springframework/cache/Cache;
8 9 7 ex Lorg/springframework/cache/Cache$ValueRetrievalException;
14 32 4 cacheHit Lorg/springframework/cache/Cache$ValueWrapper;
15 32 5 cachePutRequests Ljava/util/List<Lorg/springframework/cache/interceptor/CacheAspectSupport$CachePutRequest;>;
21 23 6 cacheValue Ljava/lang/Object;
25 32 6 cacheValue Ljava/lang/Object;
22 23 7 returnValue Ljava/lang/Object;
24 32 7 returnValue Ljava/lang/Object;
28 29 8 cachePutRequest Lorg/springframework/cache/interceptor/CacheAspectSupport$CachePutRequest;
Exception table:
from to target type
5 6 7 Class org.springframework.cache.Cache$ValueRetrievalException
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
invoker final
method
contexts
private java.lang.Object wrapCacheValue(java.lang.reflect.Method, java.lang.Object);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
ldc Ljava/util/Optional;
if_acmpne 3
1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljava/util/Optional;
if_acmpeq 3
2: StackMap locals:
StackMap stack:
aload 2
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
3: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 4 1 method Ljava/lang/reflect/Method;
0 4 2 cacheValue Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
method
cacheValue
private java.lang.Object unwrapReturnValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.ObjectUtils.unwrapOptional:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 1 1 returnValue Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
returnValue
private boolean hasCachePut(org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts);
descriptor: (Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContexts;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/springframework/cache/interceptor/CachePutOperation;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.get:(Ljava/lang/Class;)Ljava/util/Collection;
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext
astore 4
start local 4 4: aload 4
getstatic org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.RESULT_UNAVAILABLE:Ljava/lang/Object;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.isConditionPassing:(Ljava/lang/Object;)Z
ifne 8
5: aload 3
aload 4
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
6: goto 8
7: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts java.util.Collection java.util.Collection org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext java.util.Iterator
StackMap stack: org.springframework.cache.interceptor.VariableNotAvailableException
pop
end local 4 8: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 2
invokeinterface java.util.Collection.size:()I
aload 3
invokeinterface java.util.Collection.size:()I
if_icmpeq 10
iconst_1
ireturn
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts java.util.Collection java.util.Collection
StackMap stack:
10: iconst_0
ireturn
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/interceptor/CacheAspectSupport;
0 11 1 contexts Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContexts;
1 11 2 cachePutContexts Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;
2 11 3 excluded Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;
4 8 4 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
Exception table:
from to target type
4 6 7 Class org.springframework.cache.interceptor.VariableNotAvailableException
MethodParameters:
Name Flags
contexts
private void processCacheEvicts(java.util.Collection<org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext>, boolean, );
descriptor: (Ljava/util/Collection;ZLjava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport java.util.Collection int java.lang.Object top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext
astore 4
start local 4 2: aload 4
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.metadata:Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata.operation:Lorg/springframework/cache/interceptor/CacheOperation;
checkcast org.springframework.cache.interceptor.CacheEvictOperation
astore 6
start local 6 3: iload 2
aload 6
invokevirtual org.springframework.cache.interceptor.CacheEvictOperation.isBeforeInvocation:()Z
if_icmpne 5
aload 0
aload 4
aload 3
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.isConditionPassing:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Z
ifeq 5
4: aload 0
aload 4
aload 6
aload 3
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.performCacheEvict:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Lorg/springframework/cache/interceptor/CacheEvictOperation;Ljava/lang/Object;)V
end local 6 end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 7 1 contexts Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;
0 7 2 beforeInvocation Z
0 7 3 result Ljava/lang/Object;
2 5 4 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
3 5 6 operation Lorg/springframework/cache/interceptor/CacheEvictOperation;
Signature: (Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;ZLjava/lang/Object;)V
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
contexts
beforeInvocation
result
private void performCacheEvict(org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext, org.springframework.cache.interceptor.CacheEvictOperation, java.lang.Object);
descriptor: (Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Lorg/springframework/cache/interceptor/CacheEvictOperation;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 1
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.getCaches:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext org.springframework.cache.interceptor.CacheEvictOperation java.lang.Object java.lang.Object top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.Cache
astore 5
start local 5 3: aload 2
invokevirtual org.springframework.cache.interceptor.CacheEvictOperation.isCacheWide:()Z
ifeq 7
4: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.logInvalidating:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Lorg/springframework/cache/interceptor/CacheEvictOperation;Ljava/lang/Object;)V
5: aload 0
aload 5
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.doClear:(Lorg/springframework/cache/Cache;)V
6: goto 11
7: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext org.springframework.cache.interceptor.CacheEvictOperation java.lang.Object java.lang.Object org.springframework.cache.Cache java.util.Iterator
StackMap stack:
aload 4
ifnonnull 9
8: aload 0
aload 1
aload 3
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.generateKey:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 4
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.logInvalidating:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Lorg/springframework/cache/interceptor/CacheEvictOperation;Ljava/lang/Object;)V
10: aload 0
aload 5
aload 4
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.doEvict:(Lorg/springframework/cache/Cache;Ljava/lang/Object;)V
end local 5 11: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext org.springframework.cache.interceptor.CacheEvictOperation java.lang.Object java.lang.Object top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: return
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/springframework/cache/interceptor/CacheAspectSupport;
0 13 1 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
0 13 2 operation Lorg/springframework/cache/interceptor/CacheEvictOperation;
0 13 3 result Ljava/lang/Object;
1 13 4 key Ljava/lang/Object;
3 11 5 cache Lorg/springframework/cache/Cache;
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
context
operation
result
private void logInvalidating(org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext, org.springframework.cache.interceptor.CacheEvictOperation, java.lang.Object);
descriptor: (Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Lorg/springframework/cache/interceptor/CacheEvictOperation;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 6
1: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Invalidating "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
ifnull 2
new java.lang.StringBuilder
dup
ldc "cache key ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext org.springframework.cache.interceptor.CacheEvictOperation java.lang.Object
StackMap stack: org.apache.commons.logging.Log java.lang.StringBuilder
2: ldc "entire cache"
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext org.springframework.cache.interceptor.CacheEvictOperation java.lang.Object
StackMap stack: org.apache.commons.logging.Log java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc " for operation "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " on method "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.metadata:Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 7 1 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
0 7 2 operation Lorg/springframework/cache/interceptor/CacheEvictOperation;
0 7 3 key Ljava/lang/Object;
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
context
operation
key
private org.springframework.cache.Cache$ValueWrapper findCachedItem(java.util.Collection<org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext>);
descriptor: (Ljava/util/Collection;)Lorg/springframework/cache/Cache$ValueWrapper;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: getstatic org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.NO_RESULT:Ljava/lang/Object;
astore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport java.util.Collection java.lang.Object top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext
astore 3
start local 3 3: aload 0
aload 3
aload 2
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.isConditionPassing:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Z
ifeq 10
4: aload 0
aload 3
aload 2
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.generateKey:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 5: aload 0
aload 3
aload 5
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.findInCaches:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Lorg/springframework/cache/Cache$ValueWrapper;
astore 6
start local 6 6: aload 6
ifnull 8
7: aload 6
areturn
8: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport java.util.Collection java.lang.Object org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext java.util.Iterator java.lang.Object org.springframework.cache.Cache$ValueWrapper
StackMap stack:
aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 10
9: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "No cache entry for key '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' in cache(s) "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.getCacheNames:()Ljava/util/Collection;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
end local 6 end local 5 end local 3 10: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport java.util.Collection java.lang.Object top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 12 1 contexts Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;
1 12 2 result Ljava/lang/Object;
3 10 3 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
5 10 5 key Ljava/lang/Object;
6 10 6 cached Lorg/springframework/cache/Cache$ValueWrapper;
Signature: (Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;)Lorg/springframework/cache/Cache$ValueWrapper;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
contexts
private void collectPutRequests(java.util.Collection<org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext>, , java.util.Collection<org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest>);
descriptor: (Ljava/util/Collection;Ljava/lang/Object;Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport java.util.Collection java.lang.Object java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext
astore 4
start local 4 2: aload 0
aload 4
aload 2
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.isConditionPassing:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Z
ifeq 5
3: aload 0
aload 4
aload 2
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.generateKey:(Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 4: aload 3
new org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest
dup
aload 0
aload 4
aload 6
invokespecial org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest.<init>:(Lorg/springframework/cache/interceptor/CacheAspectSupport;Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)V
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 7 1 contexts Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;
0 7 2 result Ljava/lang/Object;
0 7 3 putRequests Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CachePutRequest;>;
2 5 4 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
4 5 6 key Ljava/lang/Object;
Signature: (Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;Ljava/lang/Object;Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CachePutRequest;>;)V
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
MethodParameters:
Name Flags
contexts
result
putRequests
private org.springframework.cache.Cache$ValueWrapper findInCaches(org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext, java.lang.Object);
descriptor: (Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Lorg/springframework/cache/Cache$ValueWrapper;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.getCaches:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext java.lang.Object top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.Cache
astore 3
start local 3 2: aload 0
aload 3
aload 2
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.doGet:(Lorg/springframework/cache/Cache;Ljava/lang/Object;)Lorg/springframework/cache/Cache$ValueWrapper;
astore 5
start local 5 3: aload 5
ifnull 7
4: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 6
5: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Cache entry for key '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' found in cache '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokeinterface org.springframework.cache.Cache.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
6: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext java.lang.Object org.springframework.cache.Cache java.util.Iterator org.springframework.cache.Cache$ValueWrapper
StackMap stack:
aload 5
areturn
end local 5 end local 3 7: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext java.lang.Object top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 9 1 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
0 9 2 key Ljava/lang/Object;
2 7 3 cache Lorg/springframework/cache/Cache;
3 7 5 wrapper Lorg/springframework/cache/Cache$ValueWrapper;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
context
key
private boolean isConditionPassing(org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext, java.lang.Object);
descriptor: (Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.isConditionPassing:(Ljava/lang/Object;)Z
istore 3
start local 3 1: iload 3
ifne 5
aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 5
2: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Cache condition failed on method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.metadata:Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc " for operation "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.metadata:Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata.operation:Lorg/springframework/cache/interceptor/CacheOperation;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
5: StackMap locals: int
StackMap stack:
iload 3
ireturn
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/interceptor/CacheAspectSupport;
0 6 1 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
0 6 2 result Ljava/lang/Object;
1 6 3 passing Z
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
context
result
private java.lang.Object generateKey(org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext, java.lang.Object);
descriptor: (Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.generateKey:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnonnull 5
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Null key returned for cache operation (maybe you are using named params on classes without debug info?) "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.metadata:Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata.operation:Lorg/springframework/cache/interceptor/CacheOperation;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 7
6: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Computed cache key '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' for operation "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.metadata:Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationMetadata;
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata.operation:Lorg/springframework/cache/interceptor/CacheOperation;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
7: 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 8 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
0 8 1 context Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
0 8 2 result Ljava/lang/Object;
1 8 3 key Ljava/lang/Object;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
context
result
private static org.springframework.cache.interceptor.CacheResolver lambda$3(java.util.function.Supplier);
descriptor: (Ljava/util/function/Supplier;)Lorg/springframework/cache/interceptor/CacheResolver;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic org.springframework.util.function.SupplierUtils.resolve:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.springframework.cache.CacheManager
invokestatic org.springframework.cache.interceptor.SimpleCacheResolver.of:(Lorg/springframework/cache/CacheManager;)Lorg/springframework/cache/interceptor/SimpleCacheResolver;
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.Object lambda$4(org.springframework.cache.interceptor.CacheOperationInvoker);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperationInvoker;)Ljava/lang/Object;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 0
aload 1
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation:(Lorg/springframework/cache/interceptor/CacheOperationInvoker;)Ljava/lang/Object;
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.unwrapReturnValue:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport;
Exceptions:
throws java.lang.Exception
}
SourceFile: "CacheAspectSupport.java"
NestMembers:
org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationCacheKey org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public ValueRetrievalException = org.springframework.cache.Cache$ValueRetrievalException of org.springframework.cache.Cache
public abstract ValueWrapper = org.springframework.cache.Cache$ValueWrapper of org.springframework.cache.Cache
private final CacheOperationCacheKey = org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationCacheKey of org.springframework.cache.interceptor.CacheAspectSupport
protected CacheOperationContext = org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext of org.springframework.cache.interceptor.CacheAspectSupport
private CacheOperationContexts = org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts of org.springframework.cache.interceptor.CacheAspectSupport
protected CacheOperationMetadata = org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationMetadata of org.springframework.cache.interceptor.CacheAspectSupport
private CachePutRequest = org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest of org.springframework.cache.interceptor.CacheAspectSupport
public ThrowableWrapper = org.springframework.cache.interceptor.CacheOperationInvoker$ThrowableWrapper of org.springframework.cache.interceptor.CacheOperationInvoker