aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs167/pr293510/CaseTwo.java
blob: 06d3601276cc2cd0d5766a4d3d3f7b985ea61f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package pkg;

import java.lang.annotation.*;

class A {public void m() {}}

class B extends A {public void m() {}}

class C extends B {public void m() {}}

aspect X {
  pointcut p(): execution(* C.*(..));
  before(): p() {}
}

@Retention(RetentionPolicy.RUNTIME)
@interface Marker {}