summaryrefslogtreecommitdiffstats
path: root/tests/java5
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-12-08 16:27:58 +0000
committeracolyer <acolyer>2004-12-08 16:27:58 +0000
commit29ff1d8b622942ebae950e856ea4923fb03ba8c1 (patch)
tree93ff24c3e3abfaad3acc5255f84c949f587102d0 /tests/java5
parentd5bc7f7caac0cde68010baa5c2f73de8b7ccc410 (diff)
downloadaspectj-29ff1d8b622942ebae950e856ea4923fb03ba8c1.tar.gz
aspectj-29ff1d8b622942ebae950e856ea4923fb03ba8c1.zip
first @annotation test
Diffstat (limited to 'tests/java5')
-rw-r--r--tests/java5/annotations/AnnotationAspect03.aj7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/java5/annotations/AnnotationAspect03.aj b/tests/java5/annotations/AnnotationAspect03.aj
new file mode 100644
index 000000000..04399e188
--- /dev/null
+++ b/tests/java5/annotations/AnnotationAspect03.aj
@@ -0,0 +1,7 @@
+public aspect AnnotationAspect03 {
+
+ declare warning : execution(* *.*(..)) && @annotation(@SimpleAnnotation)
+ : "@annotation matched here";
+
+
+} \ No newline at end of file