summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr113073.java
blob: 6ebff397d19dcf80189bd89a4ad946af088df14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@interface Annotation{}
aspect B {
	declare @method : public * C.anotherMethod(..) : @Annotation; // should be woven
	declare @constructor : C.new(String) : @Annotation;
}

class C {
}

aspect D {
	public C.new(String s) {
		this();
	}
	public void C.anotherMethod(String s) {
	}
	public void C.anotherMethod() {
	}
}