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

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

  before(int i): within(SimpleAutoboxing) && call(* met*(..)) && args(i) {
    System.err.println("Matching by int:"+i);
  }
}