blob: 3b9eae181e49fcfa3164451235a63aa3af33c50b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
public aspect AtMethod1 {
declare @method: void m1(..) : @Colored("red");
}
aspect X {
before(Colored c): call(* *(..)) && @annotation(c) {
System.err.println("Colored method invocation at "+thisJoinPoint);
}
}
|