aboutsummaryrefslogtreecommitdiffstats
path: root/tests/model/pr141730_2/pr141730.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model/pr141730_2/pr141730.aj')
-rw-r--r--tests/model/pr141730_2/pr141730.aj22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/model/pr141730_2/pr141730.aj b/tests/model/pr141730_2/pr141730.aj
new file mode 100644
index 000000000..6711c97b7
--- /dev/null
+++ b/tests/model/pr141730_2/pr141730.aj
@@ -0,0 +1,22 @@
+import java.util.List;
+
+aspect A {
+
+ pointcut p() : execution(* *.*(..)) || execution(*.new(..));
+
+ before() : p() {
+
+ }
+
+}
+
+class C {
+
+ public void genericMethod(List<String> l) {}
+ public void genericMethod2(MyGenericClass<String,MyClass> m) {}
+
+}
+
+class MyClass {}
+
+class MyGenericClass<X,Y> {}