aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs172/pr389750/Code2.aj
blob: b9d43519f18113de4da856a892af138fc44e4cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import java.io.*;

interface Persistable<ID extends Serializable> {

}

public aspect Code2 {

  public interface I<ID extends Serializable> extends Persistable<ID> {
  }

  public static void foo() {}

  public Z I<Z>.bar(Z foo, Persistable<?> that) {
    return foo;
  }
}