summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr90143/A.aj
blob: c02719275d9ec4aeda5497cc2dfff92922df7475 (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
26
27
28
29
30
31
32
33
class MyClass {
  protected Object method() {
    return null;
  }
}

abstract aspect A {

  interface C2 { }

  public void C2.hello() {
    new MyClass() {
      protected Object methodX() {
        return 
//super.
method();
      }
    };
  }

  // ok
  class C { }
  public void C.hello() {
    new MyClass() {
      protected Object methodX() {
        return super.method();
      }
    };
  }
  
  
}