diff options
author | aclement <aclement> | 2009-06-17 21:25:05 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-06-17 21:25:05 +0000 |
commit | f64c442ec64b878086171722c066ebd648a95977 (patch) | |
tree | c7476570afb5d51aacac069bc240c11f16b4f829 /tests/multiIncremental/pr280651_decmix | |
parent | 9de8cbe6648d82970d6a8fb3cd3599f025c1ca8e (diff) | |
download | aspectj-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.java | 18 |
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"); + } + } +} + |