Spring AOP and AspectJ Load-Time Weaving: Around advice will be invoked twice for private methods
问题 I will use Spring AOP and AspectJ Load-Time Weaving to measure execution time of specific private/protected/public methods in my code. To do this I wrote following annotation with one I will annotate the methods which execution time should be measured: package at.scan.spring.aop.measuring; import org.aspectj.lang.ProceedingJoinPoint; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target;