summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/sharing/MethodC.aj
blob: 0a2d7a23e5e343e5b623e5f498ad0a2cd521d30a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.util.*;

public class MethodC {
  public static void main(String []argv) {
    Base<Integer> base    = new Base<Integer>();
    List<List<Integer>> intList2 = new ArrayList<List<Integer>>();
    base.m(intList2);
  }
}

class Base<N extends Number> { 
}

aspect X {
  public void Base<Z>.m(List<List<Z>> llz) {}; // ok - nested but OK
}