aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr280651_decmix
diff options
context:
space:
mode:
authoraclement <aclement>2009-06-17 21:25:05 +0000
committeraclement <aclement>2009-06-17 21:25:05 +0000
commitf64c442ec64b878086171722c066ebd648a95977 (patch)
treec7476570afb5d51aacac069bc240c11f16b4f829 /tests/multiIncremental/pr280651_decmix
parent9de8cbe6648d82970d6a8fb3cd3599f025c1ca8e (diff)
downloadaspectj-f64c442ec64b878086171722c066ebd648a95977.tar.gz
aspectj-f64c442ec64b878086171722c066ebd648a95977.zip
280651, 280658, 280676: testcases
Diffstat (limited to 'tests/multiIncremental/pr280651_decmix')
-rw-r--r--tests/multiIncremental/pr280651_decmix/base/src/aspects/MixinAspect.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/multiIncremental/pr280651_decmix/base/src/aspects/MixinAspect.java b/tests/multiIncremental/pr280651_decmix/base/src/aspects/MixinAspect.java
new file mode 100644
index 000000000..f8925d162
--- /dev/null
+++ b/tests/multiIncremental/pr280651_decmix/base/src/aspects/MixinAspect.java
@@ -0,0 +1,18 @@
+package aspects;
+
+import org.aspectj.lang.annotation.*;
+
+@Aspect
+public class MixinAspect {
+ @DeclareMixin(value = "test.Foo")
+ public static Runnable foo(Object target) {
+ return new DebugDefault();
+ }
+
+ public static class DebugDefault implements Runnable {
+ public void run() {
+ System.out.println("Hi there from MixinAspect");
+ }
+ }
+}
+