aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/design/DesignG.java
diff options
context:
space:
mode:
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;
+
+}