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

aspect X {
  before(int a,int b): call(int[][].new(int,int)) && args(a,b) { System.err.println("advice running 1 ("+a+","+b+")");}
  before(int a,int b): call(Integer[][].new(int,int)) && args(a,b) { System.err.println("advice running 2 ("+a+","+b+")");}
}