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

public class MethodJ {
  public static void main(String []argv) {
    One o = new One();
    List l = o.m();
  }
}

interface I<N extends Number> { }

class One implements I {}

aspect X {
  public List I.m() { return null;} // ok, very simple ITD on generic type, should be available for call on One
}