aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr138215/pr138215.aj
blob: 7580b146bebfeac8e713bc84cbafc63f062572b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package abc;
import org.aspectj.lang.annotation.*;

@Aspect
public class pr138215 {

  @DeclareWarning("fooExecution()")
  public static final String warning = "no foos please";

  @Pointcut("execution(* foo())")
  public void fooExecution() {}

}

class Fooey {

  public void foo() {}

}