public class org.springframework.aop.interceptor.CustomizableTraceInterceptor extends org.springframework.aop.interceptor.AbstractTraceInterceptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.aop.interceptor.CustomizableTraceInterceptor
super_class: org.springframework.aop.interceptor.AbstractTraceInterceptor
{
public static final java.lang.String PLACEHOLDER_METHOD_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$[methodName]"
public static final java.lang.String PLACEHOLDER_TARGET_CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$[targetClassName]"
public static final java.lang.String PLACEHOLDER_TARGET_CLASS_SHORT_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$[targetClassShortName]"
public static final java.lang.String PLACEHOLDER_RETURN_VALUE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$[returnValue]"
public static final java.lang.String PLACEHOLDER_ARGUMENT_TYPES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$[argumentTypes]"
public static final java.lang.String PLACEHOLDER_ARGUMENTS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$[arguments]"
public static final java.lang.String PLACEHOLDER_EXCEPTION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$[exception]"
public static final java.lang.String PLACEHOLDER_INVOCATION_TIME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$[invocationTime]"
private static final java.lang.String DEFAULT_ENTER_MESSAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Entering method '$[methodName]' of class [$[targetClassName]]"
private static final java.lang.String DEFAULT_EXIT_MESSAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Exiting method '$[methodName]' of class [$[targetClassName]]"
private static final java.lang.String DEFAULT_EXCEPTION_MESSAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Exception thrown in method '$[methodName]' of class [$[targetClassName]]"
private static final java.util.regex.Pattern PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.lang.Object> ALLOWED_PLACEHOLDERS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Object;>;
private java.lang.String enterMessage;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String exitMessage;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String exceptionMessage;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc "\\$\\[\\p{Alpha}+\\]"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.springframework.aop.interceptor.CustomizableTraceInterceptor.PATTERN:Ljava/util/regex/Pattern;
1: new org.springframework.core.Constants
dup
ldc Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
invokespecial org.springframework.core.Constants.<init>:(Ljava/lang/Class;)V
ldc "PLACEHOLDER_"
invokevirtual org.springframework.core.Constants.getValues:(Ljava/lang/String;)Ljava/util/Set;
2: putstatic org.springframework.aop.interceptor.CustomizableTraceInterceptor.ALLOWED_PLACEHOLDERS:Ljava/util/Set;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.aop.interceptor.AbstractTraceInterceptor.<init>:()V
1: aload 0
ldc "Entering method '$[methodName]' of class [$[targetClassName]]"
putfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.enterMessage:Ljava/lang/String;
2: aload 0
ldc "Exiting method '$[methodName]' of class [$[targetClassName]]"
putfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.exitMessage:Ljava/lang/String;
3: aload 0
ldc "Exception thrown in method '$[methodName]' of class [$[targetClassName]]"
putfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.exceptionMessage:Ljava/lang/String;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
public void setEnterMessage(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "enterMessage must not be empty"
invokestatic org.springframework.util.Assert.hasText:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.checkForInvalidPlaceholders:(Ljava/lang/String;)V
2: aload 1
ldc "$[returnValue]"
3: ldc "enterMessage cannot contain placeholder $[returnValue]"
4: invokestatic org.springframework.util.Assert.doesNotContain:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: aload 1
ldc "$[exception]"
6: ldc "enterMessage cannot contain placeholder $[exception]"
7: invokestatic org.springframework.util.Assert.doesNotContain:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
8: aload 1
ldc "$[invocationTime]"
9: ldc "enterMessage cannot contain placeholder $[invocationTime]"
10: invokestatic org.springframework.util.Assert.doesNotContain:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
11: aload 0
aload 1
putfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.enterMessage:Ljava/lang/String;
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
0 13 1 enterMessage Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
enterMessage
public void setExitMessage(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "exitMessage must not be empty"
invokestatic org.springframework.util.Assert.hasText:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.checkForInvalidPlaceholders:(Ljava/lang/String;)V
2: aload 1
ldc "$[exception]"
3: ldc "exitMessage cannot contain placeholder$[exception]"
4: invokestatic org.springframework.util.Assert.doesNotContain:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: aload 0
aload 1
putfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.exitMessage:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
0 7 1 exitMessage Ljava/lang/String;
MethodParameters:
Name Flags
exitMessage
public void setExceptionMessage(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "exceptionMessage must not be empty"
invokestatic org.springframework.util.Assert.hasText:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.checkForInvalidPlaceholders:(Ljava/lang/String;)V
2: aload 1
ldc "$[returnValue]"
3: ldc "exceptionMessage cannot contain placeholder $[returnValue]"
4: invokestatic org.springframework.util.Assert.doesNotContain:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: aload 0
aload 1
putfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.exceptionMessage:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
0 7 1 exceptionMessage Ljava/lang/String;
MethodParameters:
Name Flags
exceptionMessage
protected java.lang.Object invokeUnderTrace(org.aopalliance.intercept.MethodInvocation, org.apache.commons.logging.Log);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;Lorg/apache/commons/logging/Log;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getMethod:()Ljava/lang/reflect/Method;
invokestatic org.springframework.util.ClassUtils.getQualifiedMethodName:(Ljava/lang/reflect/Method;)Ljava/lang/String;
astore 3
start local 3 1: new org.springframework.util.StopWatch
dup
aload 3
invokespecial org.springframework.util.StopWatch.<init>:(Ljava/lang/String;)V
astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: aload 4
aload 3
invokevirtual org.springframework.util.StopWatch.start:(Ljava/lang/String;)V
5: aload 0
aload 2
6: aload 0
aload 0
getfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.enterMessage:Ljava/lang/String;
aload 1
aconst_null
aconst_null
ldc -1
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.replacePlaceholders:(Ljava/lang/String;Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/Object;Ljava/lang/Throwable;J)Ljava/lang/String;
7: invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.writeToLog:(Lorg/apache/commons/logging/Log;Ljava/lang/String;)V
8: aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.proceed:()Ljava/lang/Object;
astore 5
9: aload 5
astore 9
10: iload 6
ifne 16
11: aload 4
invokevirtual org.springframework.util.StopWatch.isRunning:()Z
ifeq 13
12: aload 4
invokevirtual org.springframework.util.StopWatch.stop:()V
13: StackMap locals: org.springframework.aop.interceptor.CustomizableTraceInterceptor org.aopalliance.intercept.MethodInvocation org.apache.commons.logging.Log java.lang.String org.springframework.util.StopWatch java.lang.Object int top top java.lang.Object
StackMap stack:
aload 0
aload 2
aload 0
14: aload 0
getfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.exitMessage:Ljava/lang/String;
aload 1
aload 5
aconst_null
aload 4
invokevirtual org.springframework.util.StopWatch.getTotalTimeMillis:()J
15: invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.replacePlaceholders:(Ljava/lang/String;Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/Object;Ljava/lang/Throwable;J)Ljava/lang/String;
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.writeToLog:(Lorg/apache/commons/logging/Log;Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 9
areturn
17: StackMap locals: org.springframework.aop.interceptor.CustomizableTraceInterceptor org.aopalliance.intercept.MethodInvocation org.apache.commons.logging.Log java.lang.String org.springframework.util.StopWatch java.lang.Object int
StackMap stack: java.lang.Throwable
astore 7
start local 7 18: aload 4
invokevirtual org.springframework.util.StopWatch.isRunning:()Z
ifeq 20
19: aload 4
invokevirtual org.springframework.util.StopWatch.stop:()V
20: StackMap locals: java.lang.Throwable
StackMap stack:
iconst_1
istore 6
21: aload 0
aload 2
aload 0
22: aload 0
getfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.exceptionMessage:Ljava/lang/String;
aload 1
aconst_null
aload 7
aload 4
invokevirtual org.springframework.util.StopWatch.getTotalTimeMillis:()J
23: invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.replacePlaceholders:(Ljava/lang/String;Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/Object;Ljava/lang/Throwable;J)Ljava/lang/String;
24: aload 7
25: invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.writeToLog:(Lorg/apache/commons/logging/Log;Ljava/lang/String;Ljava/lang/Throwable;)V
26: aload 7
athrow
end local 7 27: StackMap locals: org.springframework.aop.interceptor.CustomizableTraceInterceptor org.aopalliance.intercept.MethodInvocation org.apache.commons.logging.Log java.lang.String org.springframework.util.StopWatch java.lang.Object int
StackMap stack: java.lang.Throwable
astore 8
28: iload 6
ifne 34
29: aload 4
invokevirtual org.springframework.util.StopWatch.isRunning:()Z
ifeq 31
30: aload 4
invokevirtual org.springframework.util.StopWatch.stop:()V
31: StackMap locals: org.springframework.aop.interceptor.CustomizableTraceInterceptor org.aopalliance.intercept.MethodInvocation org.apache.commons.logging.Log java.lang.String org.springframework.util.StopWatch java.lang.Object int top java.lang.Throwable
StackMap stack:
aload 0
aload 2
aload 0
32: aload 0
getfield org.springframework.aop.interceptor.CustomizableTraceInterceptor.exitMessage:Ljava/lang/String;
aload 1
aload 5
aconst_null
aload 4
invokevirtual org.springframework.util.StopWatch.getTotalTimeMillis:()J
33: invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.replacePlaceholders:(Ljava/lang/String;Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/Object;Ljava/lang/Throwable;J)Ljava/lang/String;
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.writeToLog:(Lorg/apache/commons/logging/Log;Ljava/lang/String;)V
34: StackMap locals:
StackMap stack:
aload 8
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
0 35 1 invocation Lorg/aopalliance/intercept/MethodInvocation;
0 35 2 logger Lorg/apache/commons/logging/Log;
1 35 3 name Ljava/lang/String;
2 35 4 stopWatch Lorg/springframework/util/StopWatch;
3 35 5 returnValue Ljava/lang/Object;
4 35 6 exitThroughException Z
18 27 7 ex Ljava/lang/Throwable;
Exception table:
from to target type
4 10 17 Class java.lang.Throwable
4 10 27 any
17 27 27 any
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
invocation
logger
protected java.lang.String replacePlaceholders(java.lang.String, org.aopalliance.intercept.MethodInvocation, java.lang.Object, java.lang.Throwable, long);
descriptor: (Ljava/lang/String;Lorg/aopalliance/intercept/MethodInvocation;Ljava/lang/Object;Ljava/lang/Throwable;J)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic org.springframework.aop.interceptor.CustomizableTraceInterceptor.PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 7
start local 7 1: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 8
start local 8 2: goto 33
3: StackMap locals: java.util.regex.Matcher java.lang.StringBuffer
StackMap stack:
aload 7
invokevirtual java.util.regex.Matcher.group:()Ljava/lang/String;
astore 9
start local 9 4: ldc "$[methodName]"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 7
aload 8
aload 2
invokeinterface org.aopalliance.intercept.MethodInvocation.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokestatic java.util.regex.Matcher.quoteReplacement:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
6: goto 33
7: StackMap locals: java.lang.String
StackMap stack:
ldc "$[targetClassName]"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
8: aload 0
aload 2
invokeinterface org.aopalliance.intercept.MethodInvocation.getThis:()Ljava/lang/Object;
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.getClassForLogging:(Ljava/lang/Object;)Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 10
start local 10 9: aload 7
aload 8
aload 10
invokestatic java.util.regex.Matcher.quoteReplacement:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
end local 10 10: goto 33
11: StackMap locals:
StackMap stack:
ldc "$[targetClassShortName]"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
12: aload 0
aload 2
invokeinterface org.aopalliance.intercept.MethodInvocation.getThis:()Ljava/lang/Object;
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.getClassForLogging:(Ljava/lang/Object;)Ljava/lang/Class;
invokestatic org.springframework.util.ClassUtils.getShortName:(Ljava/lang/Class;)Ljava/lang/String;
astore 10
start local 10 13: aload 7
aload 8
aload 10
invokestatic java.util.regex.Matcher.quoteReplacement:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
end local 10 14: goto 33
15: StackMap locals:
StackMap stack:
ldc "$[arguments]"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
16: aload 7
aload 8
17: aload 2
invokeinterface org.aopalliance.intercept.MethodInvocation.getArguments:()[Ljava/lang/Object;
invokestatic org.springframework.util.StringUtils.arrayToCommaDelimitedString:([Ljava/lang/Object;)Ljava/lang/String;
invokestatic java.util.regex.Matcher.quoteReplacement:(Ljava/lang/String;)Ljava/lang/String;
18: invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
19: goto 33
20: StackMap locals:
StackMap stack:
ldc "$[argumentTypes]"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 0
aload 2
aload 7
aload 8
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.appendArgumentTypes:(Lorg/aopalliance/intercept/MethodInvocation;Ljava/util/regex/Matcher;Ljava/lang/StringBuffer;)V
22: goto 33
23: StackMap locals:
StackMap stack:
ldc "$[returnValue]"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: aload 0
aload 2
aload 7
aload 8
aload 3
invokevirtual org.springframework.aop.interceptor.CustomizableTraceInterceptor.appendReturnValue:(Lorg/aopalliance/intercept/MethodInvocation;Ljava/util/regex/Matcher;Ljava/lang/StringBuffer;Ljava/lang/Object;)V
25: goto 33
26: StackMap locals:
StackMap stack:
aload 4
ifnull 29
ldc "$[exception]"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
27: aload 7
aload 8
aload 4
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
invokestatic java.util.regex.Matcher.quoteReplacement:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
28: goto 33
29: StackMap locals:
StackMap stack:
ldc "$[invocationTime]"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: aload 7
aload 8
lload 5
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
31: goto 33
32: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown placeholder ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
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 9 33: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.util.regex.Matcher.find:()Z
ifne 3
34: aload 7
aload 8
invokevirtual java.util.regex.Matcher.appendTail:(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;
pop
35: aload 8
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 8 end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
0 36 1 message Ljava/lang/String;
0 36 2 methodInvocation Lorg/aopalliance/intercept/MethodInvocation;
0 36 3 returnValue Ljava/lang/Object;
0 36 4 throwable Ljava/lang/Throwable;
0 36 5 invocationTime J
1 36 7 matcher Ljava/util/regex/Matcher;
2 36 8 output Ljava/lang/StringBuffer;
4 33 9 match Ljava/lang/String;
9 10 10 className Ljava/lang/String;
13 14 10 shortName Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.springframework.lang.Nullable()
3:
org.springframework.lang.Nullable()
4:
MethodParameters:
Name Flags
message
methodInvocation
returnValue
throwable
invocationTime
private void appendReturnValue(org.aopalliance.intercept.MethodInvocation, java.util.regex.Matcher, java.lang.StringBuffer, java.lang.Object);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;Ljava/util/regex/Matcher;Ljava/lang/StringBuffer;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 3
1: aload 2
aload 3
ldc "void"
invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
2: goto 7
3: StackMap locals:
StackMap stack:
aload 4
ifnonnull 6
4: aload 2
aload 3
ldc "null"
invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
5: goto 7
6: StackMap locals:
StackMap stack:
aload 2
aload 3
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.util.regex.Matcher.quoteReplacement:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
0 8 1 methodInvocation Lorg/aopalliance/intercept/MethodInvocation;
0 8 2 matcher Ljava/util/regex/Matcher;
0 8 3 output Ljava/lang/StringBuffer;
0 8 4 returnValue Ljava/lang/Object;
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
methodInvocation
matcher
output
returnValue
private void appendArgumentTypes(org.aopalliance.intercept.MethodInvocation, java.util.regex.Matcher, java.lang.StringBuffer);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;Ljava/util/regex/Matcher;Ljava/lang/StringBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.aopalliance.intercept.MethodInvocation.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 4
start local 4 1: aload 4
arraylength
anewarray java.lang.String
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 6
4: StackMap locals: java.lang.Class[] java.lang.String[] int
StackMap stack:
aload 5
iload 6
aload 4
iload 6
aaload
invokestatic org.springframework.util.ClassUtils.getShortName:(Ljava/lang/Class;)Ljava/lang/String;
aastore
5: iinc 6 1
StackMap locals:
StackMap stack:
6: iload 6
aload 5
arraylength
if_icmplt 4
end local 6 7: aload 2
aload 3
8: aload 5
invokestatic org.springframework.util.StringUtils.arrayToCommaDelimitedString:([Ljava/lang/Object;)Ljava/lang/String;
invokestatic java.util.regex.Matcher.quoteReplacement:(Ljava/lang/String;)Ljava/lang/String;
9: invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
10: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
0 11 1 methodInvocation Lorg/aopalliance/intercept/MethodInvocation;
0 11 2 matcher Ljava/util/regex/Matcher;
0 11 3 output Ljava/lang/StringBuffer;
1 11 4 argumentTypes [Ljava/lang/Class;
2 11 5 argumentTypeShortNames [Ljava/lang/String;
3 7 6 i I
MethodParameters:
Name Flags
methodInvocation
matcher
output
private void checkForInvalidPlaceholders(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.springframework.aop.interceptor.CustomizableTraceInterceptor.PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2
start local 2 1: goto 5
2: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 2
invokevirtual java.util.regex.Matcher.group:()Ljava/lang/String;
astore 3
start local 3 3: getstatic org.springframework.aop.interceptor.CustomizableTraceInterceptor.ALLOWED_PLACEHOLDERS:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Placeholder ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] is not valid"
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 3 5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.regex.Matcher.find:()Z
ifne 2
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/aop/interceptor/CustomizableTraceInterceptor;
0 7 1 message Ljava/lang/String;
1 7 2 matcher Ljava/util/regex/Matcher;
3 5 3 match Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
message
}
SourceFile: "CustomizableTraceInterceptor.java"