aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs193/isAbstractType/Code2.java
blob: 65d8d0d0597960a180f6a1b71092069d29047937 (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
public class Code2 {
  public static void main(String[] argv) {
    new Code2().run();
  }

  public void run() {
    new Helper2().run();
  }
}

abstract class Helper {
  public void run() {
  }
}

class Helper2 extends Helper {
}

aspect X {
  before(): execution(* (is(AbstractType)).run(..)) {
    System.out.println(thisJoinPointStaticPart);
  }
}