diff options
Diffstat (limited to 'tests/bugs151')
-rw-r--r-- | tests/bugs151/pr125295/pkg/A.aj | 18 | ||||
-rw-r--r-- | tests/bugs151/pr125295/pkg/C.java | 9 |
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/bugs151/pr125295/pkg/A.aj b/tests/bugs151/pr125295/pkg/A.aj new file mode 100644 index 000000000..53aa6bc99 --- /dev/null +++ b/tests/bugs151/pr125295/pkg/A.aj @@ -0,0 +1,18 @@ +package pkg; + +import org.aspectj.lang.JoinPoint; + +public aspect A { + + pointcut p() : within(C) && execution(* *(..)); + + before() : p() { + } + + after(): execution(void printParameters(..)) { + } + + static private void printParameters(JoinPoint jp) { + } + +} diff --git a/tests/bugs151/pr125295/pkg/C.java b/tests/bugs151/pr125295/pkg/C.java new file mode 100644 index 000000000..c03c02777 --- /dev/null +++ b/tests/bugs151/pr125295/pkg/C.java @@ -0,0 +1,9 @@ +package pkg; + +public class C { + + public void foo(int i, Object o) { + + } + +} |