summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/sharing/MethodP.aj
blob: b88d3e9bcb7e9387e20a8ad089a3f763778899a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
import java.util.*;

public class MethodP {
  public static void main(String []argv) { }
}

class SimpleClass<N extends Number> { }

aspect X {
  public static List<N> SimpleClass<N>.m() {return null;}  // error, static members in generic types cannot use the type variables
}