aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/autoboxing/AspectDouble.aj
blob: cef86f03a69305681b2d3ef2776ab47d8d0c7819 (plain)
1
2
3
4
5
6
7
8
9
10
11
public aspect AspectDouble {

  // The pointcuts here expose context
  before(Double i): within(AutoboxingD) && call(* met*(..)) && args(i) {
    System.err.println("Double:"+i);
  }

  before(double i): within(AutoboxingD) && call(* met*(..)) && args(i) {
    System.err.println("double:"+i);
  }
}