public class org.springframework.transaction.interceptor.TransactionAttributeEditor extends java.beans.PropertyEditorSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.transaction.interceptor.TransactionAttributeEditor
super_class: java.beans.PropertyEditorSupport
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.springframework.transaction.interceptor.TransactionAttributeEditor this
0: .line 43
aload 0 /* this */
invokespecial java.beans.PropertyEditorSupport.<init>:()V
return
end local 0 // org.springframework.transaction.interceptor.TransactionAttributeEditor this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/interceptor/TransactionAttributeEditor;
public void setAsText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 // org.springframework.transaction.interceptor.TransactionAttributeEditor this
start local 1 // java.lang.String text
0: .line 52
aload 1 /* text */
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 34
1: .line 54
aload 1 /* text */
invokestatic org.springframework.util.StringUtils.commaDelimitedListToStringArray:(Ljava/lang/String;)[Ljava/lang/String;
astore 2 /* tokens */
start local 2 // java.lang.String[] tokens
2: .line 55
new org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
dup
invokespecial org.springframework.transaction.interceptor.RuleBasedTransactionAttribute.<init>:()V
astore 3 /* attr */
start local 3 // org.springframework.transaction.interceptor.RuleBasedTransactionAttribute attr
3: .line 56
iconst_0
istore 4 /* i */
start local 4 // int i
4: goto 31
5: .line 58
StackMap locals: java.lang.String[] org.springframework.transaction.interceptor.RuleBasedTransactionAttribute int
StackMap stack:
aload 2 /* tokens */
iload 4 /* i */
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.trimWhitespace:(Ljava/lang/String;)Ljava/lang/String;
astore 5 /* token */
start local 5 // java.lang.String token
6: .line 60
aload 5 /* token */
invokestatic org.springframework.util.StringUtils.containsWhitespace:(Ljava/lang/String;)Z
ifeq 10
7: .line 61
new java.lang.IllegalArgumentException
dup
8: .line 62
new java.lang.StringBuilder
dup
ldc "Transaction attribute token contains illegal whitespace: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5 /* token */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: .line 61
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: .line 65
StackMap locals: java.lang.String
StackMap stack:
aload 5 /* token */
ldc "PROPAGATION_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
11: .line 66
aload 3 /* attr */
aload 5 /* token */
invokevirtual org.springframework.transaction.interceptor.RuleBasedTransactionAttribute.setPropagationBehaviorName:(Ljava/lang/String;)V
12: .line 67
goto 30
13: .line 68
StackMap locals:
StackMap stack:
aload 5 /* token */
ldc "ISOLATION_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
14: .line 69
aload 3 /* attr */
aload 5 /* token */
invokevirtual org.springframework.transaction.interceptor.RuleBasedTransactionAttribute.setIsolationLevelName:(Ljava/lang/String;)V
15: .line 70
goto 30
16: .line 71
StackMap locals:
StackMap stack:
aload 5 /* token */
ldc "timeout_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
17: .line 72
aload 5 /* token */
ldc "timeout_"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6 /* value */
start local 6 // java.lang.String value
18: .line 73
aload 3 /* attr */
aload 6 /* value */
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokevirtual org.springframework.transaction.interceptor.RuleBasedTransactionAttribute.setTimeout:(I)V
end local 6 // java.lang.String value
19: .line 74
goto 30
20: .line 75
StackMap locals:
StackMap stack:
aload 5 /* token */
ldc "readOnly"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: .line 76
aload 3 /* attr */
iconst_1
invokevirtual org.springframework.transaction.interceptor.RuleBasedTransactionAttribute.setReadOnly:(Z)V
22: .line 77
goto 30
23: .line 78
StackMap locals:
StackMap stack:
aload 5 /* token */
ldc "+"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 26
24: .line 79
aload 3 /* attr */
invokevirtual org.springframework.transaction.interceptor.RuleBasedTransactionAttribute.getRollbackRules:()Ljava/util/List;
new org.springframework.transaction.interceptor.NoRollbackRuleAttribute
dup
aload 5 /* token */
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial org.springframework.transaction.interceptor.NoRollbackRuleAttribute.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
25: .line 80
goto 30
26: .line 81
StackMap locals:
StackMap stack:
aload 5 /* token */
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 29
27: .line 82
aload 3 /* attr */
invokevirtual org.springframework.transaction.interceptor.RuleBasedTransactionAttribute.getRollbackRules:()Ljava/util/List;
new org.springframework.transaction.interceptor.RollbackRuleAttribute
dup
aload 5 /* token */
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial org.springframework.transaction.interceptor.RollbackRuleAttribute.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
28: .line 83
goto 30
29: .line 85
StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid transaction attribute token: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5 /* token */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 // java.lang.String token
30: .line 56
StackMap locals:
StackMap stack:
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
31: iload 4 /* i */
aload 2 /* tokens */
arraylength
if_icmplt 5
end local 4 // int i
32: .line 88
aload 0 /* this */
aload 3 /* attr */
invokevirtual org.springframework.transaction.interceptor.TransactionAttributeEditor.setValue:(Ljava/lang/Object;)V
end local 3 // org.springframework.transaction.interceptor.RuleBasedTransactionAttribute attr
end local 2 // java.lang.String[] tokens
33: .line 89
goto 35
34: .line 91
StackMap locals:
StackMap stack:
aload 0 /* this */
aconst_null
invokevirtual org.springframework.transaction.interceptor.TransactionAttributeEditor.setValue:(Ljava/lang/Object;)V
35: .line 93
StackMap locals:
StackMap stack:
return
end local 1 // java.lang.String text
end local 0 // org.springframework.transaction.interceptor.TransactionAttributeEditor this
LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/springframework/transaction/interceptor/TransactionAttributeEditor;
0 36 1 text Ljava/lang/String;
2 33 2 tokens [Ljava/lang/String;
3 33 3 attr Lorg/springframework/transaction/interceptor/RuleBasedTransactionAttribute;
4 32 4 i I
6 30 5 token Ljava/lang/String;
18 19 6 value Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
text
}
SourceFile: "TransactionAttributeEditor.java"