From f64c442ec64b878086171722c066ebd648a95977 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 17 Jun 2009 21:25:05 +0000 Subject: 280651, 280658, 280676: testcases --- .../pr280651_decmix/base/src/aspects/MixinAspect.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/multiIncremental/pr280651_decmix/base/src/aspects/MixinAspect.java (limited to 'tests/multiIncremental/pr280651_decmix') 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"); + } + } +} + -- cgit v1.2.3