aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features153/jdtlikehandleprovider/A12.aj
blob: 57518fd8da292ccd2246a2b1dd8dd943293c7580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package pkg;

aspect A {

	declare @type : C : @MyAnnotation;
	declare @field : int C.someField : @MyAnnotation;
	declare @method : public void C.method1() : @MyAnnotation;
	declare @constructor : C.new() : @MyAnnotation;
	
}

class C {
	
	public C() {
	}
	
	int someField = 3;
	
	public void method1() {
	}
	
}

@interface MyAnnotation{}