summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/design/DesignG.java
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-20 08:32:26 +0000
committeraclement <aclement>2005-10-20 08:32:26 +0000
commit73b22d28e29ed9a4bb5ef2325f9b91dc3b800e33 (patch)
treea15bbc8f072f9b646b109a2be716929a9106894b /tests/java5/generics/itds/design/DesignG.java
parentab8ad33b2084f275fd59f177173ddce544b3e8b2 (diff)
downloadaspectj-73b22d28e29ed9a4bb5ef2325f9b91dc3b800e33.tar.gz
aspectj-73b22d28e29ed9a4bb5ef2325f9b91dc3b800e33.zip
more design tests.
Diffstat (limited to 'tests/java5/generics/itds/design/DesignG.java')
-rw-r--r--tests/java5/generics/itds/design/DesignG.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/java5/generics/itds/design/DesignG.java b/tests/java5/generics/itds/design/DesignG.java
new file mode 100644
index 000000000..dd7636146
--- /dev/null
+++ b/tests/java5/generics/itds/design/DesignG.java
@@ -0,0 +1,17 @@
+import java.util.*;
+
+// Checking what gets into the target classes...
+// Here the ITDs are on some interface and so found in the class
+// that implements the interface
+
+class C implements I<String> {}
+
+interface I<T> {}
+
+aspect X {
+
+ List<Z> I<Z>.ln;
+
+ Q I<Q>.n;
+
+}