public class org.springframework.cache.interceptor.NameMatchCacheOperationSource implements org.springframework.cache.interceptor.CacheOperationSource, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.cache.interceptor.NameMatchCacheOperationSource
super_class: java.lang.Object
{
protected static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private java.util.Map<java.lang.String, java.util.Collection<org.springframework.cache.interceptor.CacheOperation>> nameMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;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: ldc Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.cache.interceptor.NameMatchCacheOperationSource.logger:Lorg/apache/commons/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.springframework.cache.interceptor.NameMatchCacheOperationSource.nameMap:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
public void setNameMap(java.util.Map<java.lang.String, java.util.Collection<org.springframework.cache.interceptor.CacheOperation>>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokedynamic accept(Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;)Ljava/util/function/BiConsumer;
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;)V
org/springframework/cache/interceptor/NameMatchCacheOperationSource.addCacheMethod(Ljava/lang/String;Ljava/util/Collection;)V (5)
(Ljava/lang/String;Ljava/util/Collection;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
0 2 1 nameMap Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;>;)V
MethodParameters:
Name Flags
nameMap
public void addCacheMethod(java.lang.String, java.util.Collection<org.springframework.cache.interceptor.CacheOperation>);
descriptor: (Ljava/lang/String;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.springframework.cache.interceptor.NameMatchCacheOperationSource.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.springframework.cache.interceptor.NameMatchCacheOperationSource.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Adding method ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] with cache operations ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
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;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.cache.interceptor.NameMatchCacheOperationSource.nameMap:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
0 4 1 methodName Ljava/lang/String;
0 4 2 ops Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
Signature: (Ljava/lang/String;Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;)V
MethodParameters:
Name Flags
methodName
ops
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=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield org.springframework.cache.interceptor.NameMatchCacheOperationSource.nameMap: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 2: aload 4
ifnonnull 11
3: aconst_null
astore 5
start local 5 4: aload 0
getfield org.springframework.cache.interceptor.NameMatchCacheOperationSource.nameMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 10
StackMap locals: org.springframework.cache.interceptor.NameMatchCacheOperationSource java.lang.reflect.Method java.lang.Class java.lang.String java.util.Collection java.lang.String top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 6: aload 0
aload 3
aload 6
invokevirtual org.springframework.cache.interceptor.NameMatchCacheOperationSource.isMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 10
7: aload 5
ifnull 8
aload 5
invokevirtual java.lang.String.length:()I
aload 6
invokevirtual java.lang.String.length:()I
if_icmpgt 10
8: StackMap locals: org.springframework.cache.interceptor.NameMatchCacheOperationSource java.lang.reflect.Method java.lang.Class java.lang.String java.util.Collection java.lang.String java.lang.String java.util.Iterator
StackMap stack:
aload 0
getfield org.springframework.cache.interceptor.NameMatchCacheOperationSource.nameMap:Ljava/util/Map;
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 4
9: aload 6
astore 5
end local 6 10: StackMap locals: org.springframework.cache.interceptor.NameMatchCacheOperationSource java.lang.reflect.Method java.lang.Class java.lang.String java.util.Collection java.lang.String top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 5 11: StackMap locals: org.springframework.cache.interceptor.NameMatchCacheOperationSource java.lang.reflect.Method java.lang.Class java.lang.String java.util.Collection
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
0 12 1 method Ljava/lang/reflect/Method;
0 12 2 targetClass Ljava/lang/Class<*>;
1 12 3 methodName Ljava/lang/String;
2 12 4 ops Ljava/util/Collection<Lorg/springframework/cache/interceptor/CacheOperation;>;
4 11 5 bestNameMatch Ljava/lang/String;
6 10 6 mappedName Ljava/lang/String;
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 boolean isMatch(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokestatic org.springframework.util.PatternMatchUtils.simpleMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
0 1 1 methodName Ljava/lang/String;
0 1 2 mappedName Ljava/lang/String;
MethodParameters:
Name Flags
methodName
mappedName
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.springframework.cache.interceptor.NameMatchCacheOperationSource
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.springframework.cache.interceptor.NameMatchCacheOperationSource
astore 2
start local 2 5: aload 0
getfield org.springframework.cache.interceptor.NameMatchCacheOperationSource.nameMap:Ljava/util/Map;
aload 2
getfield org.springframework.cache.interceptor.NameMatchCacheOperationSource.nameMap:Ljava/util/Map;
invokestatic org.springframework.util.ObjectUtils.nullSafeEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
0 6 1 other Ljava/lang/Object;
5 6 2 otherTas Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.cache.interceptor.NameMatchCacheOperationSource.nameMap:Ljava/util/Map;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;
}
SourceFile: "NameMatchCacheOperationSource.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles