public abstract class org.springframework.cache.interceptor.AbstractCacheResolver implements org.springframework.cache.interceptor.CacheResolver, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.cache.interceptor.AbstractCacheResolver
super_class: java.lang.Object
{
private org.springframework.cache.CacheManager cacheManager;
descriptor: Lorg/springframework/cache/CacheManager;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/AbstractCacheResolver;
protected void <init>(org.springframework.cache.CacheManager);
descriptor: (Lorg/springframework/cache/CacheManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.cache.interceptor.AbstractCacheResolver.cacheManager:Lorg/springframework/cache/CacheManager;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/interceptor/AbstractCacheResolver;
0 3 1 cacheManager Lorg/springframework/cache/CacheManager;
MethodParameters:
Name Flags
cacheManager
public void setCacheManager(org.springframework.cache.CacheManager);
descriptor: (Lorg/springframework/cache/CacheManager;)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.AbstractCacheResolver.cacheManager:Lorg/springframework/cache/CacheManager;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/AbstractCacheResolver;
0 2 1 cacheManager Lorg/springframework/cache/CacheManager;
MethodParameters:
Name Flags
cacheManager
public org.springframework.cache.CacheManager getCacheManager();
descriptor: ()Lorg/springframework/cache/CacheManager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.interceptor.AbstractCacheResolver.cacheManager:Lorg/springframework/cache/CacheManager;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "No CacheManager set"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
getfield org.springframework.cache.interceptor.AbstractCacheResolver.cacheManager:Lorg/springframework/cache/CacheManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/interceptor/AbstractCacheResolver;
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.interceptor.AbstractCacheResolver.cacheManager:Lorg/springframework/cache/CacheManager;
ldc "CacheManager is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/AbstractCacheResolver;
public java.util.Collection<? extends org.springframework.cache.Cache> resolveCaches(org.springframework.cache.interceptor.CacheOperationInvocationContext<?>);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperationInvocationContext;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.cache.interceptor.AbstractCacheResolver.getCacheNames:(Lorg/springframework/cache/interceptor/CacheOperationInvocationContext;)Ljava/util/Collection;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
3: StackMap locals: java.util.Collection
StackMap stack:
new java.util.ArrayList
dup
aload 2
invokeinterface java.util.Collection.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 4: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: org.springframework.cache.interceptor.AbstractCacheResolver org.springframework.cache.interceptor.CacheOperationInvocationContext java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: aload 0
invokevirtual org.springframework.cache.interceptor.AbstractCacheResolver.getCacheManager:()Lorg/springframework/cache/CacheManager;
aload 4
invokeinterface org.springframework.cache.CacheManager.getCache:(Ljava/lang/String;)Lorg/springframework/cache/Cache;
astore 6
start local 6 7: aload 6
ifnonnull 11
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cannot find cache named '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.springframework.cache.interceptor.AbstractCacheResolver org.springframework.cache.interceptor.CacheOperationInvocationContext java.util.Collection java.util.Collection java.lang.String java.util.Iterator org.springframework.cache.Cache
StackMap stack:
aload 3
aload 6
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 12: StackMap locals: org.springframework.cache.interceptor.AbstractCacheResolver org.springframework.cache.interceptor.CacheOperationInvocationContext java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/cache/interceptor/AbstractCacheResolver;
0 14 1 context Lorg/springframework/cache/interceptor/CacheOperationInvocationContext<*>;
1 14 2 cacheNames Ljava/util/Collection<Ljava/lang/String;>;
4 14 3 result Ljava/util/Collection<Lorg/springframework/cache/Cache;>;
6 12 4 cacheName Ljava/lang/String;
7 12 6 cache Lorg/springframework/cache/Cache;
Signature: (Lorg/springframework/cache/interceptor/CacheOperationInvocationContext<*>;)Ljava/util/Collection<+Lorg/springframework/cache/Cache;>;
MethodParameters:
Name Flags
context
protected abstract java.util.Collection<java.lang.String> getCacheNames(org.springframework.cache.interceptor.CacheOperationInvocationContext<?>);
descriptor: (Lorg/springframework/cache/interceptor/CacheOperationInvocationContext;)Ljava/util/Collection;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Lorg/springframework/cache/interceptor/CacheOperationInvocationContext<*>;)Ljava/util/Collection<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
context
}
SourceFile: "AbstractCacheResolver.java"