diff options
Diffstat (limited to 'tests/bugs166')
-rw-r--r-- | tests/bugs166/pr282299/Code.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/bugs166/pr282299/Code.java b/tests/bugs166/pr282299/Code.java new file mode 100644 index 000000000..850624856 --- /dev/null +++ b/tests/bugs166/pr282299/Code.java @@ -0,0 +1,28 @@ +public class Code { +} + +interface Accessor<V> +{ + V get(String key); + + void set(String key, V value); +} + +class AccessorImpl<V> implements Accessor<V> { + + public V get(String key) { + System.out.println("Calling get(..)"); + return null; + } + + public void set(String key, V value) { + System.out.println("Calling set(..)"); + } + +} + +class Target {} + +aspect TargetEnhancer { + declare parents: Target extends AccessorImpl<String>; +} |