public class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource implements org.springframework.transaction.interceptor.TransactionAttributeSource, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
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, org.springframework.transaction.interceptor.TransactionAttribute> nameMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/springframework/transaction/interceptor/TransactionAttribute;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/transaction/interceptor/NameMatchTransactionAttributeSource;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.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.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.nameMap:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/transaction/interceptor/NameMatchTransactionAttributeSource;
public void setNameMap(java.util.Map<java.lang.String, org.springframework.transaction.interceptor.TransactionAttribute>);
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/transaction/interceptor/NameMatchTransactionAttributeSource;)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/transaction/interceptor/NameMatchTransactionAttributeSource.addTransactionalMethod(Ljava/lang/String;Lorg/springframework/transaction/interceptor/TransactionAttribute;)V (5)
(Ljava/lang/String;Lorg/springframework/transaction/interceptor/TransactionAttribute;)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/transaction/interceptor/NameMatchTransactionAttributeSource;
0 2 1 nameMap Ljava/util/Map<Ljava/lang/String;Lorg/springframework/transaction/interceptor/TransactionAttribute;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Lorg/springframework/transaction/interceptor/TransactionAttribute;>;)V
MethodParameters:
Name Flags
nameMap
public void setProperties(java.util.Properties);
descriptor: (Ljava/util/Properties;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: new org.springframework.transaction.interceptor.TransactionAttributeEditor
dup
invokespecial org.springframework.transaction.interceptor.TransactionAttributeEditor.<init>:()V
astore 2
start local 2 1: aload 1
invokevirtual java.util.Properties.propertyNames:()Ljava/util/Enumeration;
astore 3
start local 3 2: goto 8
3: StackMap locals: org.springframework.transaction.interceptor.TransactionAttributeEditor java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 1
aload 4
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 5: aload 2
aload 5
invokevirtual org.springframework.transaction.interceptor.TransactionAttributeEditor.setAsText:(Ljava/lang/String;)V
6: aload 2
invokevirtual org.springframework.transaction.interceptor.TransactionAttributeEditor.getValue:()Ljava/lang/Object;
checkcast org.springframework.transaction.interceptor.TransactionAttribute
astore 6
start local 6 7: aload 0
aload 4
aload 6
invokevirtual org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.addTransactionalMethod:(Ljava/lang/String;Lorg/springframework/transaction/interceptor/TransactionAttribute;)V
end local 6 end local 5 end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/transaction/interceptor/NameMatchTransactionAttributeSource;
0 10 1 transactionAttributes Ljava/util/Properties;
1 10 2 tae Lorg/springframework/transaction/interceptor/TransactionAttributeEditor;
2 10 3 propNames Ljava/util/Enumeration<*>;
4 8 4 methodName Ljava/lang/String;
5 8 5 value Ljava/lang/String;
7 8 6 attr Lorg/springframework/transaction/interceptor/TransactionAttribute;
MethodParameters:
Name Flags
transactionAttributes
public void addTransactionalMethod(java.lang.String, org.springframework.transaction.interceptor.TransactionAttribute);
descriptor: (Ljava/lang/String;Lorg/springframework/transaction/interceptor/TransactionAttribute;)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.transaction.interceptor.NameMatchTransactionAttributeSource.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Adding transactional 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 attribute ["
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.transaction.interceptor.NameMatchTransactionAttributeSource.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/transaction/interceptor/NameMatchTransactionAttributeSource;
0 4 1 methodName Ljava/lang/String;
0 4 2 attr Lorg/springframework/transaction/interceptor/TransactionAttribute;
MethodParameters:
Name Flags
methodName
attr
public org.springframework.transaction.interceptor.TransactionAttribute getTransactionAttribute(java.lang.reflect.Method, java.lang.Class<?>);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Class;)Lorg/springframework/transaction/interceptor/TransactionAttribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.springframework.util.ClassUtils.isUserLevelMethod:(Ljava/lang/reflect/Method;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 3
start local 3 3: aload 0
getfield org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.nameMap:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.transaction.interceptor.TransactionAttribute
astore 4
start local 4 4: aload 4
ifnonnull 13
5: aconst_null
astore 5
start local 5 6: aload 0
getfield org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.nameMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 12
StackMap locals: org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource java.lang.reflect.Method java.lang.Class java.lang.String org.springframework.transaction.interceptor.TransactionAttribute java.lang.String top java.util.Iterator
StackMap stack:
7: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 8: aload 0
aload 3
aload 6
invokevirtual org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.isMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 12
9: aload 5
ifnull 10
aload 5
invokevirtual java.lang.String.length:()I
aload 6
invokevirtual java.lang.String.length:()I
if_icmpgt 12
10: StackMap locals: org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource java.lang.reflect.Method java.lang.Class java.lang.String org.springframework.transaction.interceptor.TransactionAttribute java.lang.String java.lang.String java.util.Iterator
StackMap stack:
aload 0
getfield org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.nameMap:Ljava/util/Map;
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.transaction.interceptor.TransactionAttribute
astore 4
11: aload 6
astore 5
end local 6 12: StackMap locals: org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource java.lang.reflect.Method java.lang.Class java.lang.String org.springframework.transaction.interceptor.TransactionAttribute java.lang.String top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 5 13: StackMap locals: org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource java.lang.reflect.Method java.lang.Class java.lang.String org.springframework.transaction.interceptor.TransactionAttribute
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 14 0 this Lorg/springframework/transaction/interceptor/NameMatchTransactionAttributeSource;
0 14 1 method Ljava/lang/reflect/Method;
0 14 2 targetClass Ljava/lang/Class<*>;
3 14 3 methodName Ljava/lang/String;
4 14 4 attr Lorg/springframework/transaction/interceptor/TransactionAttribute;
6 13 5 bestNameMatch Ljava/lang/String;
8 12 6 mappedName Ljava/lang/String;
Signature: (Ljava/lang/reflect/Method;Ljava/lang/Class<*>;)Lorg/springframework/transaction/interceptor/TransactionAttribute;
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/transaction/interceptor/NameMatchTransactionAttributeSource;
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.transaction.interceptor.NameMatchTransactionAttributeSource
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
astore 2
start local 2 5: aload 0
getfield org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.nameMap:Ljava/util/Map;
aload 2
getfield org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.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/transaction/interceptor/NameMatchTransactionAttributeSource;
0 6 1 other Ljava/lang/Object;
5 6 2 otherTas Lorg/springframework/transaction/interceptor/NameMatchTransactionAttributeSource;
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/transaction/interceptor/NameMatchTransactionAttributeSource;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/interceptor/NameMatchTransactionAttributeSource;
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.transaction.interceptor.NameMatchTransactionAttributeSource.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/transaction/interceptor/NameMatchTransactionAttributeSource;
}
SourceFile: "NameMatchTransactionAttributeSource.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles