class org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts
super_class: java.lang.Object
{
private final org.springframework.util.MultiValueMap<java.lang.Class<? extends org.springframework.cache.interceptor.CacheOperation>, org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext> contexts;
descriptor: Lorg/springframework/util/MultiValueMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/util/MultiValueMap<Ljava/lang/Class<+Lorg/springframework/cache/interceptor/CacheOperation;>;Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;
private final boolean sync;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.springframework.cache.interceptor.CacheAspectSupport this$0;
descriptor: Lorg/springframework/cache/interceptor/CacheAspectSupport;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(java.util.Collection<? extends org.springframework.cache.interceptor.CacheOperation>, java.lang.reflect.Method, [], , java.lang.Class<?>);
descriptor: (Lorg/springframework/cache/interceptor/CacheAspectSupport;Ljava/util/Collection;Ljava/lang/reflect/Method;[Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=7
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
putfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.this$0:Lorg/springframework/cache/interceptor/CacheAspectSupport;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
new org.springframework.util.LinkedMultiValueMap
dup
aload 2
invokeinterface java.util.Collection.size:()I
invokespecial org.springframework.util.LinkedMultiValueMap.<init>:(I)V
putfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.contexts:Lorg/springframework/util/MultiValueMap;
3: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 6
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts org.springframework.cache.interceptor.CacheAspectSupport java.util.Collection java.lang.reflect.Method java.lang.Object[] java.lang.Object java.lang.Class top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheOperation
astore 7
start local 7 5: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.contexts:Lorg/springframework/util/MultiValueMap;
aload 7
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
aload 7
aload 3
aload 4
aload 5
aload 6
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport.getOperationContext:(Lorg/springframework/cache/interceptor/CacheOperation;Ljava/lang/reflect/Method;[Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;)Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
invokeinterface org.springframework.util.MultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 7 6: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
aload 0
aload 3
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.determineSyncFlag:(Ljava/lang/reflect/Method;)Z
putfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.sync:Z
8: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContexts;
0 9 2 operations Ljava/util/Collection<+Lorg/springframework/cache/interceptor/CacheOperation;>;
0 9 3 method Ljava/lang/reflect/Method;
0 9 4 args [Ljava/lang/Object;
0 9 5 target Ljava/lang/Object;
0 9 6 targetClass Ljava/lang/Class<*>;
5 6 7 op Lorg/springframework/cache/interceptor/CacheOperation;
Signature: (Ljava/util/Collection<+Lorg/springframework/cache/interceptor/CacheOperation;>;Ljava/lang/reflect/Method;[Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
this$0 final
operations
method
args
target
targetClass
public java.util.Collection<org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext> get(java.lang.Class<? extends org.springframework.cache.interceptor.CacheOperation>);
descriptor: (Ljava/lang/Class;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.contexts:Lorg/springframework/util/MultiValueMap;
aload 1
invokeinterface org.springframework.util.MultiValueMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
goto 3
StackMap locals: java.util.Collection
StackMap stack:
2: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
StackMap locals:
StackMap stack: java.util.Collection
3: 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$CacheOperationContexts;
0 4 1 operationClass Ljava/lang/Class<+Lorg/springframework/cache/interceptor/CacheOperation;>;
1 4 2 result Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;
Signature: (Ljava/lang/Class<+Lorg/springframework/cache/interceptor/CacheOperation;>;)Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;
MethodParameters:
Name Flags
operationClass
public boolean isSynchronized();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.sync:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContexts;
private boolean determineSyncFlag(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.contexts:Lorg/springframework/util/MultiValueMap;
ldc Lorg/springframework/cache/interceptor/CacheableOperation;
invokeinterface org.springframework.util.MultiValueMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.util.List
StackMap stack:
iconst_0
istore 3
start local 3 4: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts java.lang.reflect.Method java.util.List int top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext
astore 4
start local 4 6: aload 4
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.getOperation:()Lorg/springframework/cache/interceptor/CacheOperation;
checkcast org.springframework.cache.interceptor.CacheableOperation
invokevirtual org.springframework.cache.interceptor.CacheableOperation.isSync:()Z
ifeq 9
7: iconst_1
istore 3
8: goto 10
end local 4 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts java.lang.reflect.Method java.util.List int
StackMap stack:
iload 3
ifeq 30
11: aload 0
getfield org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContexts.contexts:Lorg/springframework/util/MultiValueMap;
invokeinterface org.springframework.util.MultiValueMap.size:()I
iconst_1
if_icmple 15
12: new java.lang.IllegalStateException
dup
13: new java.lang.StringBuilder
dup
ldc "@Cacheable(sync=true) cannot be combined with other cache operations on '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
14: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 19
16: new java.lang.IllegalStateException
dup
17: new java.lang.StringBuilder
dup
ldc "Only one @Cacheable(sync=true) entry is allowed on '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
18: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext
astore 4
start local 4 20: aload 4
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.getOperation:()Lorg/springframework/cache/interceptor/CacheOperation;
checkcast org.springframework.cache.interceptor.CacheableOperation
astore 5
start local 5 21: aload 4
invokevirtual org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.getCaches:()Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmple 25
22: new java.lang.IllegalStateException
dup
23: new java.lang.StringBuilder
dup
ldc "@Cacheable(sync=true) only allows a single cache on '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
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;
24: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals: org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext org.springframework.cache.interceptor.CacheableOperation
StackMap stack:
aload 5
invokevirtual org.springframework.cache.interceptor.CacheableOperation.getUnless:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 29
26: new java.lang.IllegalStateException
dup
27: new java.lang.StringBuilder
dup
ldc "@Cacheable(sync=true) does not support unless attribute on '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
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;
28: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 5 end local 4 30: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContexts;
0 31 1 method Ljava/lang/reflect/Method;
1 31 2 cacheOperationContexts Ljava/util/List<Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;>;
4 31 3 syncEnabled Z
6 9 4 cacheOperationContext Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
20 30 4 cacheOperationContext Lorg/springframework/cache/interceptor/CacheAspectSupport$CacheOperationContext;
21 30 5 operation Lorg/springframework/cache/interceptor/CacheableOperation;
MethodParameters:
Name Flags
method
}
SourceFile: "CacheAspectSupport.java"
NestHost: org.springframework.cache.interceptor.CacheAspectSupport
InnerClasses:
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