diff options
author | aclement <aclement> | 2008-11-03 18:53:33 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-11-03 18:53:33 +0000 |
commit | 377ed8f4b1569214fab207dd915daadda22d2831 (patch) | |
tree | b7d667007c514e16dfb6a7c07ae48c47db69d03b /tests | |
parent | fb630fa62b6654767dcdef3919105a89f9becdd3 (diff) | |
download | aspectj-377ed8f4b1569214fab207dd915daadda22d2831.tar.gz aspectj-377ed8f4b1569214fab207dd915daadda22d2831.zip |
253109: testcode
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs163/pr253109/CodeThree.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs163/pr253109/CodeThree.java b/tests/bugs163/pr253109/CodeThree.java new file mode 100644 index 000000000..821eb3827 --- /dev/null +++ b/tests/bugs163/pr253109/CodeThree.java @@ -0,0 +1,13 @@ +import java.util.*; + +public aspect CodeThree { + before(): execution(* CodeThree.*(..)) && args(List<Integer>) {} // yes + before(): execution(* CodeThree.*(..)) && args(ArrayList<Integer>) {} // yes - runtime check + before(): execution(* CodeThree.*(..)) && args(List<Number>) {} // no + before(): execution(* CodeThree.*(..)) && args(ArrayList<Number>) {} // no + before(): execution(* CodeThree.*(..)) && args(List<? extends Number>) {} // yes + before(): execution(* CodeThree.*(..)) && args(ArrayList<? extends Number>) {} // yes - runtime check + + void m(List<Integer> li) {} + +} |