From 31d8e259e5cd8b1b4810d69bbf4b9ea45ae4a4c8 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Fri, 31 May 2013 23:07:29 -0700 Subject: Use class file attributes to find containing class https://bugs.eclipse.org/bugs/show_bug.cgi?id=407494 --- tests/bugs173/pr407494/A.java | 16 ++++++++++++++++ tests/bugs173/pr407494/A2.java | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 tests/bugs173/pr407494/A.java create mode 100644 tests/bugs173/pr407494/A2.java (limited to 'tests/bugs173/pr407494') 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(*) { + + } +} -- cgit v1.2.3