aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr269286
diff options
context:
space:
mode:
authoraclement <aclement>2009-03-27 17:34:38 +0000
committeraclement <aclement>2009-03-27 17:34:38 +0000
commita2703cf03d909a2dbc78f5b169225270f8308606 (patch)
tree9e260296b871b3933dbd1ed0e044d9b559ddbc8a /tests/multiIncremental/pr269286
parent900ae342e62d9f193c773da8d93e3d52c2e680c2 (diff)
downloadaspectj-a2703cf03d909a2dbc78f5b169225270f8308606.tar.gz
aspectj-a2703cf03d909a2dbc78f5b169225270f8308606.zip
269286: handles for anno style elements
Diffstat (limited to 'tests/multiIncremental/pr269286')
-rw-r--r--tests/multiIncremental/pr269286/base/src/Logger.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/multiIncremental/pr269286/base/src/Logger.java b/tests/multiIncremental/pr269286/base/src/Logger.java
new file mode 100644
index 000000000..faddbec7c
--- /dev/null
+++ b/tests/multiIncremental/pr269286/base/src/Logger.java
@@ -0,0 +1,30 @@
+import org.aspectj.lang.annotation.*;
+
+@Aspect
+public class Logger {
+
+ @Before("execution(* O*.*())")
+ public void boo() {
+
+ }
+ @After("execution(* O*.*())")
+ public void aoo() {
+
+ }
+ @Around("execution(* O*.*())")
+ public void aroo() {
+
+ }
+
+@Pointcut("execution(* *(..))")
+public void ooo() {}
+
+
+@DeclareWarning("execution(* xxx(..))")
+public static final String message ="hello";
+
+@DeclareError("execution(* xxx(..))")
+public static final String message2 ="gello";
+
+}
+