summaryrefslogtreecommitdiffstats
path: root/ajdoc/testdata
diff options
context:
space:
mode:
authoraclement <aclement>2006-01-16 15:24:18 +0000
committeraclement <aclement>2006-01-16 15:24:18 +0000
commitdd97ef1adfcd1df2709c7287275215dc585dc572 (patch)
tree3611921d9151a8421af5356f05067232dee2eb69 /ajdoc/testdata
parent2208126bd1792695ff11d86118c53a9160ab9fee (diff)
downloadaspectj-dd97ef1adfcd1df2709c7287275215dc585dc572.tar.gz
aspectj-dd97ef1adfcd1df2709c7287275215dc585dc572.zip
pr121711 - from Helen - comment #19
Diffstat (limited to 'ajdoc/testdata')
-rw-r--r--ajdoc/testdata/coverage/pkg/ClassWithNestedAspect.java15
-rw-r--r--ajdoc/testdata/coverage/pkg/ClassWithNestedAspect2.java20
2 files changed, 35 insertions, 0 deletions
diff --git a/ajdoc/testdata/coverage/pkg/ClassWithNestedAspect.java b/ajdoc/testdata/coverage/pkg/ClassWithNestedAspect.java
new file mode 100644
index 000000000..153fd86bf
--- /dev/null
+++ b/ajdoc/testdata/coverage/pkg/ClassWithNestedAspect.java
@@ -0,0 +1,15 @@
+package pkg;
+
+public class ClassWithNestedAspect {
+
+ public void amethod() {
+ }
+
+ static aspect NestedAspect {
+ pointcut p() : execution(* ClassWithNestedAspect.amethod(..));
+
+ before() : p() {
+ }
+ }
+
+}
diff --git a/ajdoc/testdata/coverage/pkg/ClassWithNestedAspect2.java b/ajdoc/testdata/coverage/pkg/ClassWithNestedAspect2.java
new file mode 100644
index 000000000..1a4650a5b
--- /dev/null
+++ b/ajdoc/testdata/coverage/pkg/ClassWithNestedAspect2.java
@@ -0,0 +1,20 @@
+package pkg;
+
+public class ClassWithNestedAspect2 {
+
+ public void amethod() {
+ }
+
+ class InnerClass {
+
+ aspect NestedAspect {
+ pointcut p() : execution(* ClassWithNestedAspect.amethod(..));
+
+ before() : p() {
+ }
+ }
+
+ }
+
+
+}