summaryrefslogtreecommitdiffstats
path: root/tests/java5/annotations/binding/complexExample/X.java
blob: 141975a16c553ce71868387f7ce545c9806e6dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Color should be resolved via the import statement...
import d.e.f.Color;

public aspect X {

  before(): call(* *(..)) && @annotation(Color) {
    System.err.println("Before call to "+thisJoinPoint);
  }
  
  before(): execution(* *(..)) && @annotation(Color) {
    System.err.println("Before execution of "+thisJoinPoint);
  }
}