blob: f3d69035896cb078060c557bb8482ff0309fd714 (
plain)
1
2
3
4
5
6
7
8
9
10
|
public aspect AtCtor1 {
declare @constructor: new(int) : @Colored("red");
}
aspect X {
before(): call(new(..)) && @annotation(Colored) {
System.err.println("Colored constructor invocation at "+thisJoinPoint);
}
}
|