summaryrefslogtreecommitdiffstats
path: root/tests/bugs161/pr237381/Deow1.java
blob: 88ae8f6a2ea45f4cf4695cf7f7ddd6947f1da2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import org.aspectj.lang.annotation.*;

aspect X {
  @DeclareWarning("execution(* *.foo(..))")
  public static final String argleBargle = "fromX";
  
  public void foo() {}
}

@Aspect
class Y {
  @DeclareWarning("execution(* *.goo(..))")
  public static final String argleBargle = "fromY";
  
  public void goo() {}
}