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

import java.lang.annotation.*;

class A {public void m() {}}

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

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

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

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