diff options
Diffstat (limited to 'tests/bugs/serialVersionUID/BeforeExecutionAdvice.aj')
-rw-r--r-- | tests/bugs/serialVersionUID/BeforeExecutionAdvice.aj | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/bugs/serialVersionUID/BeforeExecutionAdvice.aj b/tests/bugs/serialVersionUID/BeforeExecutionAdvice.aj new file mode 100644 index 000000000..109cddc37 --- /dev/null +++ b/tests/bugs/serialVersionUID/BeforeExecutionAdvice.aj @@ -0,0 +1,9 @@ +public aspect BeforeExecutionAdvice {
+
+ pointcut run (Test test) :
+ execution(public void run()) && this(test);
+
+ before (Test test) : run (test) {
+ System.out.println("? BeforeExecutionAdvice.run() test=" + test);
+ }
+}
\ No newline at end of file |