public class org.springframework.cache.interceptor.NameMatchCacheOperationSource extends java.lang.Object implements org.springframework.cache.interceptor.CacheOperationSource, java.io.Serializable
{
protected static final org.apache.commons.logging.Log logger;
private java.util.Map nameMap;
public void <init>()
{
java.util.LinkedHashMap v;
org.springframework.cache.interceptor.NameMatchCacheOperationSource v;
v := @this: org.springframework.cache.interceptor.NameMatchCacheOperationSource;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new java.util.LinkedHashMap;
specialinvoke v.<java.util.LinkedHashMap: void <init>()>();
v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: java.util.Map nameMap> = v;
return;
}
public void setNameMap(java.util.Map)
{
java.util.Iterator v;
org.springframework.cache.interceptor.NameMatchCacheOperationSource v;
java.util.Set v;
java.util.Map v;
java.lang.Object v, v, v;
boolean v;
v := @this: org.springframework.cache.interceptor.NameMatchCacheOperationSource;
v := @parameter: java.util.Map;
v = interfaceinvoke v.<java.util.Map: java.util.Set entrySet()>();
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
virtualinvoke v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: void addCacheMethod(java.lang.String,java.util.Collection)>(v, v);
goto label;
label:
return;
}
public void addCacheMethod(java.lang.String, java.util.Collection)
{
org.springframework.cache.interceptor.NameMatchCacheOperationSource v;
java.util.Collection v;
java.util.Map v;
org.apache.commons.logging.Log v, v;
java.lang.String v, v;
boolean v;
v := @this: org.springframework.cache.interceptor.NameMatchCacheOperationSource;
v := @parameter: java.lang.String;
v := @parameter: java.util.Collection;
v = <org.springframework.cache.interceptor.NameMatchCacheOperationSource: org.apache.commons.logging.Log logger>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.springframework.cache.interceptor.NameMatchCacheOperationSource: org.apache.commons.logging.Log logger>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.util.Collection)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Adding method [\u] with cache operations [\u]");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
label:
v = v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: java.util.Map nameMap>;
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
return;
}
public java.util.Collection getCacheOperations(java.lang.reflect.Method, java.lang.Class)
{
java.util.Map v, v, v;
int v, v;
java.lang.String v, v;
java.lang.reflect.Method v;
boolean v, v;
java.util.Iterator v;
org.springframework.cache.interceptor.NameMatchCacheOperationSource v;
java.util.Set v;
java.lang.Class v;
java.lang.Object v, v;
v := @this: org.springframework.cache.interceptor.NameMatchCacheOperationSource;
v := @parameter: java.lang.reflect.Method;
v := @parameter: java.lang.Class;
v = virtualinvoke v.<java.lang.reflect.Method: java.lang.String getName()>();
v = v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: java.util.Map nameMap>;
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
if v != null goto label;
v = null;
v = v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: java.util.Map nameMap>;
v = interfaceinvoke v.<java.util.Map: java.util.Set keySet()>();
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: boolean isMatch(java.lang.String,java.lang.String)>(v, v);
if v == 0 goto label;
if v == null goto label;
v = virtualinvoke v.<java.lang.String: int length()>();
v = virtualinvoke v.<java.lang.String: int length()>();
if v > v goto label;
label:
v = v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: java.util.Map nameMap>;
interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
v = v;
goto label;
label:
return v;
}
protected boolean isMatch(java.lang.String, java.lang.String)
{
org.springframework.cache.interceptor.NameMatchCacheOperationSource v;
java.lang.String v, v;
boolean v;
v := @this: org.springframework.cache.interceptor.NameMatchCacheOperationSource;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = staticinvoke <org.springframework.util.PatternMatchUtils: boolean simpleMatch(java.lang.String,java.lang.String)>(v, v);
return v;
}
public boolean equals(java.lang.Object)
{
org.springframework.cache.interceptor.NameMatchCacheOperationSource v;
java.util.Map v, v;
java.lang.Object v;
boolean v, v;
v := @this: org.springframework.cache.interceptor.NameMatchCacheOperationSource;
v := @parameter: java.lang.Object;
if v != v goto label;
return 1;
label:
v = v instanceof org.springframework.cache.interceptor.NameMatchCacheOperationSource;
if v != 0 goto label;
return 0;
label:
v = v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: java.util.Map nameMap>;
v = v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: java.util.Map nameMap>;
v = staticinvoke <org.springframework.util.ObjectUtils: boolean nullSafeEquals(java.lang.Object,java.lang.Object)>(v, v);
return v;
}
public int hashCode()
{
int v;
java.lang.Class v;
org.springframework.cache.interceptor.NameMatchCacheOperationSource v;
v := @this: org.springframework.cache.interceptor.NameMatchCacheOperationSource;
v = class "Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;";
v = virtualinvoke v.<java.lang.Object: int hashCode()>();
return v;
}
public java.lang.String toString()
{
org.springframework.cache.interceptor.NameMatchCacheOperationSource v;
java.util.Map v;
java.lang.Class v;
java.lang.String v, v;
v := @this: org.springframework.cache.interceptor.NameMatchCacheOperationSource;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
v = v.<org.springframework.cache.interceptor.NameMatchCacheOperationSource: java.util.Map nameMap>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.util.Map)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001: \u0001");
return v;
}
static void <clinit>()
{
org.apache.commons.logging.Log v;
v = staticinvoke <org.apache.commons.logging.LogFactory: org.apache.commons.logging.Log getLog(java.lang.Class)>(class "Lorg/springframework/cache/interceptor/NameMatchCacheOperationSource;");
<org.springframework.cache.interceptor.NameMatchCacheOperationSource: org.apache.commons.logging.Log logger> = v;
return;
}
}