aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features151/newarrayjoinpoint/One.java
blob: 965746cbbf2ebf6feb48a923b0a830ddaeb86b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// basics
public class One {
  public static void main(String []argv) {
    Integer[] is = new Integer[5];
  }
}

aspect X {
  before(): call(Integer[].new(..)) {
	  System.err.println("advice running");
  }
}