diff options
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(* *(..)) { + } +} |