From: aclement Date: Thu, 20 Oct 2005 08:32:26 +0000 (+0000) Subject: more design tests. X-Git-Tag: V1_5_0RC1~344 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=73b22d28e29ed9a4bb5ef2325f9b91dc3b800e33;p=aspectj.git more design tests. --- diff --git a/tests/java5/generics/itds/design/DesignF.java b/tests/java5/generics/itds/design/DesignF.java new file mode 100644 index 000000000..a49532d98 --- /dev/null +++ b/tests/java5/generics/itds/design/DesignF.java @@ -0,0 +1,16 @@ +import java.util.*; + +// Checking what gets into the target classes... +// Here the ITDs are on some target *class* + +class C {} + +aspect X { + + List C.list1; + List C.list2; + + String C.field1; + Q C.field2; + +} 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 {} + +interface I {} + +aspect X { + + List I.ln; + + Q I.n; + +}