aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs180/pr432714/Code.java
blob: af871ab18ab2891b5e6c56f93c283e48547935d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
public class Code {
  public static void main(String[]argv) {
  }

  public void foo(UID x) {
      bar((x instanceof UID ? E.one : E.two));
  }

  public static void bar(FM fm) { }
}

aspect X {
  void around(): execution(* foo(..)) {
  }
}

class E {
    static BBB one;
    static CCC two;
    class BBB extends FM<String> {}
    class CCC extends FM<Long> {}
}
class FM<T> {}

class UID {}