public class org.springframework.cache.support.NoOpCacheManager implements org.springframework.cache.CacheManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.cache.support.NoOpCacheManager
super_class: java.lang.Object
{
private final java.util.concurrent.ConcurrentMap<java.lang.String, org.springframework.cache.Cache> caches;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lorg/springframework/cache/Cache;>;
private final java.util.Set<java.lang.String> cacheNames;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
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
new java.util.concurrent.ConcurrentHashMap
dup
bipush 16
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putfield org.springframework.cache.support.NoOpCacheManager.caches:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
new java.util.LinkedHashSet
dup
bipush 16
invokespecial java.util.LinkedHashSet.<init>:(I)V
putfield org.springframework.cache.support.NoOpCacheManager.cacheNames:Ljava/util/Set;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/support/NoOpCacheManager;
public org.springframework.cache.Cache getCache(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/cache/Cache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.support.NoOpCacheManager.caches:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.cache.Cache
astore 2
start local 2 1: aload 2
ifnonnull 9
2: aload 0
getfield org.springframework.cache.support.NoOpCacheManager.caches:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 1
invokedynamic apply(Ljava/lang/String;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
org/springframework/cache/support/NoOpCacheManager.lambda$0(Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/cache/Cache; (6)
(Ljava/lang/String;)Lorg/springframework/cache/Cache;
invokeinterface java.util.concurrent.ConcurrentMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
pop
3: aload 0
getfield org.springframework.cache.support.NoOpCacheManager.cacheNames:Ljava/util/Set;
dup
astore 3
monitorenter
4: aload 0
getfield org.springframework.cache.support.NoOpCacheManager.cacheNames:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 3
monitorexit
6: goto 9
StackMap locals: org.springframework.cache.support.NoOpCacheManager java.lang.String org.springframework.cache.Cache java.util.Set
StackMap stack: java.lang.Throwable
7: aload 3
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.cache.support.NoOpCacheManager.caches:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.cache.Cache
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/cache/support/NoOpCacheManager;
0 10 1 name Ljava/lang/String;
1 10 2 cache Lorg/springframework/cache/Cache;
Exception table:
from to target type
4 6 7 any
7 8 7 any
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
public java.util.Collection<java.lang.String> getCacheNames();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.support.NoOpCacheManager.cacheNames:Ljava/util/Set;
dup
astore 1
monitorenter
1: aload 0
getfield org.springframework.cache.support.NoOpCacheManager.cacheNames:Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
aload 1
monitorexit
2: areturn
3: StackMap locals: org.springframework.cache.support.NoOpCacheManager java.util.Set
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/cache/support/NoOpCacheManager;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
private static org.springframework.cache.Cache lambda$0(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/cache/Cache;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: new org.springframework.cache.support.NoOpCache
dup
aload 0
invokespecial org.springframework.cache.support.NoOpCache.<init>:(Ljava/lang/String;)V
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 key Ljava/lang/String;
}
SourceFile: "NoOpCacheManager.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles