aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs173/pr407494
diff options
context:
space:
mode:
authorAndy Clement <andrew.clement@gmail.com>2013-05-31 23:07:29 -0700
committerAndy Clement <andrew.clement@gmail.com>2013-05-31 23:07:29 -0700
commit31d8e259e5cd8b1b4810d69bbf4b9ea45ae4a4c8 (patch)
tree4a273bd73d75a264bbca01cdffbf7a3c9dc1fd57 /tests/bugs173/pr407494
parent6f4140ac7028b9074e694e4c0b9de8b05e4b048a (diff)
downloadaspectj-31d8e259e5cd8b1b4810d69bbf4b9ea45ae4a4c8.tar.gz
aspectj-31d8e259e5cd8b1b4810d69bbf4b9ea45ae4a4c8.zip
Use class file attributes to find containing class
https://bugs.eclipse.org/bugs/show_bug.cgi?id=407494
Diffstat (limited to 'tests/bugs173/pr407494')
-rw-r--r--tests/bugs173/pr407494/A.java16
-rw-r--r--tests/bugs173/pr407494/A2.java17
2 files changed, 33 insertions, 0 deletions
diff --git a/tests/bugs173/pr407494/A.java b/tests/bugs173/pr407494/A.java
new file mode 100644
index 000000000..0c1a1f636
--- /dev/null
+++ b/tests/bugs173/pr407494/A.java
@@ -0,0 +1,16 @@
+package a.b.c;
+
+public class A {
+ class B {
+ }
+ class $C {
+ }
+}
+class A$$B$$C {
+}
+
+aspect X {
+ before(): within(A+) && staticinitialization(*) {
+
+ }
+}
diff --git a/tests/bugs173/pr407494/A2.java b/tests/bugs173/pr407494/A2.java
new file mode 100644
index 000000000..de0640892
--- /dev/null
+++ b/tests/bugs173/pr407494/A2.java
@@ -0,0 +1,17 @@
+package a.b.c;
+
+public class A2 {
+ class B {
+ }
+ class $C {
+ class Inner {}
+ }
+}
+class A$$B$$C {
+}
+
+aspect X {
+ before(): within(*$C+) && staticinitialization(*) {
+
+ }
+}