aboutsummaryrefslogtreecommitdiffstats
path: root/tests/model/pr141730_4/MyBar.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model/pr141730_4/MyBar.aj')
-rw-r--r--tests/model/pr141730_4/MyBar.aj18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/model/pr141730_4/MyBar.aj b/tests/model/pr141730_4/MyBar.aj
new file mode 100644
index 000000000..50ea6efd0
--- /dev/null
+++ b/tests/model/pr141730_4/MyBar.aj
@@ -0,0 +1,18 @@
+package bar;
+
+import foo.*;
+
+public aspect MyBar {
+
+ before() : call(* main(..)) {}
+
+ declare warning: get( * System.out ) : "System.out should not be called";
+
+ declare parents : *Foo extends NewClass;
+
+ declare @type : *Foo* : @MyAnnotation;
+ declare @method : public * *Foo.anotMethod(..) : @MyAnnotation;
+ declare @constructor : *Foo.new(String) : @MyAnnotation;
+ declare @field : int *Foo.* : @MyAnnotation ;
+
+}