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

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

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