aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr113073.java
blob: 9e57ffaa90b8cea826472fc052a15713e6d1f230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@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) {
	}
	public void C.anotherMethod(String s) {
	}
	public void C.anotherMethod() {
	}
}