summaryrefslogtreecommitdiffstats
path: root/tests/java5/annotations/declare/BasicParseTest.aj
blob: 5c3eca2492e86a4f8cfeff48a41b1029ef1af29c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
public aspect BasicParseTest {
	
	declare warning : set(* *) : "setting";
	
	declare @field: * foo : @MyAnnotation;
	
	declare @method: * foo() : @MyAnnotation;
	
	declare @constructor: Foo*.new(..) : @MyAnnotation;
	
	declare @type: org.xyz..* : @MyAnnotation;
	
}

@interface MyAnnotation {}