summaryrefslogtreecommitdiffstats
path: root/tests/model/pr141730_4/MyBar.aj
blob: 50ea6efd00a682f1c4c0e5101e12b8b03d3b9a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 ;
	
}