aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-06 08:38:28 +0000
committeraclement <aclement>2006-06-06 08:38:28 +0000
commit5e74f35fa0ac6002b0a291259b88c1b0017fbf40 (patch)
tree4058bc2e6745d73742c7faeea0d0130addf04879 /tests/bugs152
parentd1dbf827ea64012890fd2de97d684722f81f3226 (diff)
downloadaspectj-5e74f35fa0ac6002b0a291259b88c1b0017fbf40.tar.gz
aspectj-5e74f35fa0ac6002b0a291259b88c1b0017fbf40.zip
some code for 141730 - store type signatures in program elements rather than processed type names.
Diffstat (limited to 'tests/bugs152')
-rw-r--r--tests/bugs152/pr141730.aj46
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/bugs152/pr141730.aj b/tests/bugs152/pr141730.aj
new file mode 100644
index 000000000..65b90d37a
--- /dev/null
+++ b/tests/bugs152/pr141730.aj
@@ -0,0 +1,46 @@
+import java.util.List;
+
+aspect A {
+
+ pointcut p() : execution(* *.*(..));
+
+ before() : p() {}
+
+ public void MyClass.method() {}
+
+ public MyClass.new() {super();}
+}
+
+class C {
+
+ public C() {}
+
+ public void method() {}
+
+ public void intMethod(int i) {}
+
+ public void stringMethod(String s) {}
+
+ public void myClassMethod(MyClass s) {}
+
+ public void genericMethod(List<String> l) {}
+
+ public void twoArgsMethod(int i, String s) {}
+
+ public void genericMethod2(MyGenericClass<String,MyClass> m) {}
+
+ public static void main(String[] args) {}
+
+ public void multiMethod(String[][] s) {}
+
+ public void intArray(int[] i) {}
+
+}
+
+class MyClass {
+
+ public MyClass(String s) {}
+
+}
+
+class MyGenericClass<X,Y> {}