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

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

class Base<N extends Number> { 
}

aspect X {
  public List<String> Base<Z>.m() { return null;}; // ok - specified type variable but didnt use it
}