diff options
Diffstat (limited to 'tests/bugs180')
-rw-r--r-- | tests/bugs180/415957/MyAspect.aj | 8 | ||||
-rw-r--r-- | tests/bugs180/415957/MyClass.java | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs180/415957/MyAspect.aj b/tests/bugs180/415957/MyAspect.aj new file mode 100644 index 000000000..673463a55 --- /dev/null +++ b/tests/bugs180/415957/MyAspect.aj @@ -0,0 +1,8 @@ +public aspect MyAspect { + pointcut all(): execution(@javax.annotation.Resource * *(..)); + + + before(): all() { + System.out.println("Hi"); + } +} diff --git a/tests/bugs180/415957/MyClass.java b/tests/bugs180/415957/MyClass.java new file mode 100644 index 000000000..7b596ffd0 --- /dev/null +++ b/tests/bugs180/415957/MyClass.java @@ -0,0 +1,5 @@ +public class MyClass { + @javax.annotation.Resource + public void method() { + } +} |