public abstract class org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource implements org.springframework.cache.interceptor.CacheOperationSource
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource
super_class: java.lang.Object
{
private static final java.util.Collection<org.springframework.cache.interceptor.CacheOperation> NULL_CACHING_ATTRIBUTE;
descriptor: Ljava/util/Collection;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
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<java.lang.Object, java.util.Collection<org.springframework.cache.interceptor.CacheOperation>> attributeCache;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Object;Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putstatic org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.NULL_CACHING_ATTRIBUTE:Ljava/util/Collection;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<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.AbstractFallbackCacheOperationSource.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.AbstractFallbackCacheOperationSource.attributeCache:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/interceptor/AbstractFallbackCacheOperationSource;
public java.util.Collection<org.springframework.cache.interceptor.CacheOperation> getCacheOperations(java.lang.reflect.Method, java.lang.Class<?>);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
ldc Ljava/lang/Object;
if_acmpne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.getCacheKey:(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/Object;
astore 3
start local 3 3: aload 0
getfield org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.attributeCache:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 4
start local 4 4: aload 4
ifnull 8
5: aload 4
getstatic org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.NULL_CACHING_ATTRIBUTE:Ljava/util/Collection;
if_acmpeq 6
aload 4
goto 7
StackMap locals: java.lang.Object java.util.Collection
StackMap stack:
6: aconst_null
StackMap locals:
StackMap stack: java.util.Collection
7: areturn
8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.computeCacheOperations:(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/util/Collection;
astore 5
start local 5 9: aload 5
ifnull 14
10: aload 0
getfield org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 12
11: aload 0
getfield org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Adding cacheable method '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' with attribute: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
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
12: StackMap locals: java.util.Collection
StackMap stack:
aload 0
getfield org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.attributeCache:Ljava/util/Map;
aload 3
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.attributeCache:Ljava/util/Map;
aload 3
getstatic org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.NULL_CACHING_ATTRIBUTE:Ljava/util/Collection;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: 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 16 0 this Lorg/springframework/cache/interceptor/AbstractFallbackCacheOperationSource;
0 16 1 method Ljava/lang/reflect/Method;
0 16 2 targetClass Ljava/lang/Class<*>;
3 16 3 cacheKey Ljava/lang/Object;
4 16 4 cached Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
9 16 5 cacheOps Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
Signature: (Ljava/lang/reflect/Method;Ljava/lang/Class<*>;)Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
method
targetClass
protected getCacheKey(java.lang.reflect.Method, java.lang.Class<?>);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.core.MethodClassKey
dup
aload 1
aload 2
invokespecial org.springframework.core.MethodClassKey.<init>:(Ljava/lang/reflect/Method;Ljava/lang/Class;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/AbstractFallbackCacheOperationSource;
0 1 1 method Ljava/lang/reflect/Method;
0 1 2 targetClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/reflect/Method;Ljava/lang/Class<*>;)Ljava/lang/Object;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
method
targetClass
private java.util.Collection<org.springframework.cache.interceptor.CacheOperation> computeCacheOperations(java.lang.reflect.Method, java.lang.Class<?>);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.allowPublicMethodsOnly:()Z
ifeq 2
aload 1
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic org.springframework.aop.support.AopUtils.getMostSpecificMethod:(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 3: aload 0
aload 3
invokevirtual org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.findCacheOperations:(Ljava/lang/reflect/Method;)Ljava/util/Collection;
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 4
areturn
6: StackMap locals: java.lang.reflect.Method java.util.Collection
StackMap stack:
aload 0
aload 3
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.findCacheOperations:(Ljava/lang/Class;)Ljava/util/Collection;
astore 4
7: aload 4
ifnull 9
aload 1
invokestatic org.springframework.util.ClassUtils.isUserLevelMethod:(Ljava/lang/reflect/Method;)Z
ifeq 9
8: aload 4
areturn
9: StackMap locals:
StackMap stack:
aload 3
aload 1
if_acmpeq 16
10: aload 0
aload 1
invokevirtual org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.findCacheOperations:(Ljava/lang/reflect/Method;)Ljava/util/Collection;
astore 4
11: aload 4
ifnull 13
12: aload 4
areturn
13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.findCacheOperations:(Ljava/lang/Class;)Ljava/util/Collection;
astore 4
14: aload 4
ifnull 16
aload 1
invokestatic org.springframework.util.ClassUtils.isUserLevelMethod:(Ljava/lang/reflect/Method;)Z
ifeq 16
15: aload 4
areturn
16: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/springframework/cache/interceptor/AbstractFallbackCacheOperationSource;
0 17 1 method Ljava/lang/reflect/Method;
0 17 2 targetClass Ljava/lang/Class<*>;
3 17 3 specificMethod Ljava/lang/reflect/Method;
4 17 4 opDef Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
Signature: (Ljava/lang/reflect/Method;Ljava/lang/Class<*>;)Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
method
targetClass
protected abstract java.util.Collection<org.springframework.cache.interceptor.CacheOperation> findCacheOperations(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/util/Collection;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/Class<*>;)Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
clazz
protected abstract java.util.Collection<org.springframework.cache.interceptor.CacheOperation> findCacheOperations(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/util/Collection;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/reflect/Method;)Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
method
protected boolean allowPublicMethodsOnly();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/AbstractFallbackCacheOperationSource;
}
SourceFile: "AbstractFallbackCacheOperationSource.java"