public class org.springframework.transaction.interceptor.RollbackRuleAttribute implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.transaction.interceptor.RollbackRuleAttribute
super_class: java.lang.Object
{
public static final org.springframework.transaction.interceptor.RollbackRuleAttribute ROLLBACK_ON_RUNTIME_EXCEPTIONS;
descriptor: Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final java.lang.String exceptionName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.springframework.transaction.interceptor.RollbackRuleAttribute
dup
ldc Ljava/lang/RuntimeException;
invokespecial org.springframework.transaction.interceptor.RollbackRuleAttribute.<init>:(Ljava/lang/Class;)V
1: putstatic org.springframework.transaction.interceptor.RollbackRuleAttribute.ROLLBACK_ON_RUNTIME_EXCEPTIONS:Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "'clazz' cannot be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: ldc Ljava/lang/Throwable;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
4: new java.lang.StringBuilder
dup
ldc "Cannot construct rollback rule from ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]: it's not a Throwable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.springframework.transaction.interceptor.RollbackRuleAttribute java.lang.Class
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
putfield org.springframework.transaction.interceptor.RollbackRuleAttribute.exceptionName:Ljava/lang/String;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
0 8 1 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
clazz
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "'exceptionName' cannot be null or empty"
invokestatic org.springframework.util.Assert.hasText:(Ljava/lang/String;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.transaction.interceptor.RollbackRuleAttribute.exceptionName:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
0 4 1 exceptionName Ljava/lang/String;
MethodParameters:
Name Flags
exceptionName
public java.lang.String getExceptionName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.interceptor.RollbackRuleAttribute.exceptionName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
public int getDepth(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
iconst_0
invokevirtual org.springframework.transaction.interceptor.RollbackRuleAttribute.getDepth:(Ljava/lang/Class;I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
0 1 1 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
ex
private int getDepth(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
getfield org.springframework.transaction.interceptor.RollbackRuleAttribute.exceptionName:Ljava/lang/String;
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 2
1: iload 2
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ldc Ljava/lang/Throwable;
if_acmpne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
iload 2
iconst_1
iadd
invokevirtual org.springframework.transaction.interceptor.RollbackRuleAttribute.getDepth:(Ljava/lang/Class;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
0 5 1 exceptionClass Ljava/lang/Class<*>;
0 5 2 depth I
Signature: (Ljava/lang/Class<*>;I)I
MethodParameters:
Name Flags
exceptionClass
depth
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.RollbackRuleAttribute
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.springframework.transaction.interceptor.RollbackRuleAttribute
astore 2
start local 2 5: aload 0
getfield org.springframework.transaction.interceptor.RollbackRuleAttribute.exceptionName:Ljava/lang/String;
aload 2
getfield org.springframework.transaction.interceptor.RollbackRuleAttribute.exceptionName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(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/RollbackRuleAttribute;
0 6 1 other Ljava/lang/Object;
5 6 2 rhs Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
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: aload 0
getfield org.springframework.transaction.interceptor.RollbackRuleAttribute.exceptionName:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
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
ldc "RollbackRuleAttribute with pattern ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.transaction.interceptor.RollbackRuleAttribute.exceptionName:Ljava/lang/String;
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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/interceptor/RollbackRuleAttribute;
}
SourceFile: "RollbackRuleAttribute.java"