aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1921/github_288/SecondAspect.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs1921/github_288/SecondAspect.aj')
-rw-r--r--tests/bugs1921/github_288/SecondAspect.aj12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs1921/github_288/SecondAspect.aj b/tests/bugs1921/github_288/SecondAspect.aj
new file mode 100644
index 000000000..ef405e4ee
--- /dev/null
+++ b/tests/bugs1921/github_288/SecondAspect.aj
@@ -0,0 +1,12 @@
+import org.aspectj.lang.ProceedingJoinPoint;
+import org.aspectj.lang.annotation.Around;
+import org.aspectj.lang.annotation.Aspect;
+
+@Aspect
+public class SecondAspect {
+ @Around("execution(* doSomething())")
+ public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable {
+ System.out.println(getClass().getSimpleName());
+ return joinPoint.proceed();
+ }
+}