summaryrefslogtreecommitdiffstats
path: root/ajdoc/testdata/coverage
diff options
context:
space:
mode:
Diffstat (limited to 'ajdoc/testdata/coverage')
-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() {
+ }
+ }
+
+ }
+
+
+}