aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/annotations/binding/complexExample/X.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/annotations/binding/complexExample/X.java')
-rw-r--r--tests/java5/annotations/binding/complexExample/X.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/java5/annotations/binding/complexExample/X.java b/tests/java5/annotations/binding/complexExample/X.java
new file mode 100644
index 000000000..b442e3a99
--- /dev/null
+++ b/tests/java5/annotations/binding/complexExample/X.java
@@ -0,0 +1,13 @@
+// Color should be resolved via the import statement...
+import d.e.f.Color;
+
+public aspect X {
+
+ before(): call(* *(..)) && @annotation(@Color) {
+ System.err.println("Before call to "+thisJoinPoint);
+ }
+
+ before(): execution(* *(..)) && @annotation(@Color) {
+ System.err.println("Before execution of "+thisJoinPoint);
+ }
+}