diff options
author | aclement <aclement> | 2005-04-19 10:41:20 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-19 10:41:20 +0000 |
commit | 3db6ee486652630ec9298465bb3727802d3be6e6 (patch) | |
tree | 6941308d72fc78d59dd230c7abf7b3a947a8ffea /tests/java5/ataspectj/coverage/Test002.java | |
parent | f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c (diff) | |
download | aspectj-3db6ee486652630ec9298465bb3727802d3be6e6.tar.gz aspectj-3db6ee486652630ec9298465bb3727802d3be6e6.zip |
Andrew Huffs test programs for @AJ
Diffstat (limited to 'tests/java5/ataspectj/coverage/Test002.java')
-rw-r--r-- | tests/java5/ataspectj/coverage/Test002.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/java5/ataspectj/coverage/Test002.java b/tests/java5/ataspectj/coverage/Test002.java new file mode 100644 index 000000000..59228a700 --- /dev/null +++ b/tests/java5/ataspectj/coverage/Test002.java @@ -0,0 +1,15 @@ +//"@Aspect with codestyle pointcut" + +// 1. test name needs changing to @Aspect with codestyle advice declaration +// Probably nothing can be done here because it is at parse time that we +// decide this is a class so can't contain advice - at parse time we probably +// can't go digging round for annotations on the type decl. +// Documented limitation? + +import org.aspectj.lang.annotation.*; + +@Aspect +class A{ + before(): call(* *(..)) { + } +} |