public abstract class org.springframework.cache.annotation.AbstractCachingConfiguration implements org.springframework.context.annotation.ImportAware
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.cache.annotation.AbstractCachingConfiguration
super_class: java.lang.Object
{
protected org.springframework.core.annotation.AnnotationAttributes enableCaching;
descriptor: Lorg/springframework/core/annotation/AnnotationAttributes;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
protected java.util.function.Supplier<org.springframework.cache.CacheManager> cacheManager;
descriptor: Ljava/util/function/Supplier;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/function/Supplier<Lorg/springframework/cache/CacheManager;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
protected java.util.function.Supplier<org.springframework.cache.interceptor.CacheResolver> cacheResolver;
descriptor: Ljava/util/function/Supplier;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/function/Supplier<Lorg/springframework/cache/interceptor/CacheResolver;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
protected java.util.function.Supplier<org.springframework.cache.interceptor.KeyGenerator> keyGenerator;
descriptor: Ljava/util/function/Supplier;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/function/Supplier<Lorg/springframework/cache/interceptor/KeyGenerator;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
protected java.util.function.Supplier<org.springframework.cache.interceptor.CacheErrorHandler> errorHandler;
descriptor: Ljava/util/function/Supplier;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/function/Supplier<Lorg/springframework/cache/interceptor/CacheErrorHandler;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/annotation/AbstractCachingConfiguration;
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata);
descriptor: (Lorg/springframework/core/type/AnnotationMetadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
ldc Lorg/springframework/cache/annotation/EnableCaching;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_0
invokeinterface org.springframework.core.type.AnnotationMetadata.getAnnotationAttributes:(Ljava/lang/String;Z)Ljava/util/Map;
2: invokestatic org.springframework.core.annotation.AnnotationAttributes.fromMap:(Ljava/util/Map;)Lorg/springframework/core/annotation/AnnotationAttributes;
putfield org.springframework.cache.annotation.AbstractCachingConfiguration.enableCaching:Lorg/springframework/core/annotation/AnnotationAttributes;
3: aload 0
getfield org.springframework.cache.annotation.AbstractCachingConfiguration.enableCaching:Lorg/springframework/core/annotation/AnnotationAttributes;
ifnonnull 7
4: new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "@EnableCaching is not present on importing class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/cache/annotation/AbstractCachingConfiguration;
0 8 1 importMetadata Lorg/springframework/core/type/AnnotationMetadata;
MethodParameters:
Name Flags
importMetadata
void setConfigurers(java.util.Collection<org.springframework.cache.annotation.CachingConfigurer>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmple 8
3: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
aload 1
invokeinterface java.util.Collection.size:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " implementations of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "CachingConfigurer were found when only 1 was expected. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "Refactor the configuration such that CachingConfigurer is "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "implemented only once or not at all."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.annotation.CachingConfigurer
astore 2
start local 2 9: aload 0
aload 2
invokevirtual org.springframework.cache.annotation.AbstractCachingConfiguration.useCachingConfigurer:(Lorg/springframework/cache/annotation/CachingConfigurer;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/cache/annotation/AbstractCachingConfiguration;
0 11 1 configurers Ljava/util/Collection<Lorg/springframework/cache/annotation/CachingConfigurer;>;
9 11 2 configurer Lorg/springframework/cache/annotation/CachingConfigurer;
Signature: (Ljava/util/Collection<Lorg/springframework/cache/annotation/CachingConfigurer;>;)V
RuntimeVisibleAnnotations:
org.springframework.beans.factory.annotation.Autowired(required = false)
MethodParameters:
Name Flags
configurers
protected void useCachingConfigurer(org.springframework.cache.annotation.CachingConfigurer);
descriptor: (Lorg/springframework/cache/annotation/CachingConfigurer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/springframework/cache/annotation/CachingConfigurer;)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/annotation/CachingConfigurer.cacheManager()Lorg/springframework/cache/CacheManager; (9 itf)
()Lorg/springframework/cache/CacheManager;
putfield org.springframework.cache.annotation.AbstractCachingConfiguration.cacheManager:Ljava/util/function/Supplier;
1: aload 0
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/springframework/cache/annotation/CachingConfigurer;)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/annotation/CachingConfigurer.cacheResolver()Lorg/springframework/cache/interceptor/CacheResolver; (9 itf)
()Lorg/springframework/cache/interceptor/CacheResolver;
putfield org.springframework.cache.annotation.AbstractCachingConfiguration.cacheResolver:Ljava/util/function/Supplier;
2: aload 0
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/springframework/cache/annotation/CachingConfigurer;)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/annotation/CachingConfigurer.keyGenerator()Lorg/springframework/cache/interceptor/KeyGenerator; (9 itf)
()Lorg/springframework/cache/interceptor/KeyGenerator;
putfield org.springframework.cache.annotation.AbstractCachingConfiguration.keyGenerator:Ljava/util/function/Supplier;
3: aload 0
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/springframework/cache/annotation/CachingConfigurer;)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/annotation/CachingConfigurer.errorHandler()Lorg/springframework/cache/interceptor/CacheErrorHandler; (9 itf)
()Lorg/springframework/cache/interceptor/CacheErrorHandler;
putfield org.springframework.cache.annotation.AbstractCachingConfiguration.errorHandler:Ljava/util/function/Supplier;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/cache/annotation/AbstractCachingConfiguration;
0 5 1 config Lorg/springframework/cache/annotation/CachingConfigurer;
MethodParameters:
Name Flags
config
}
SourceFile: "AbstractCachingConfiguration.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Configuration()