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

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

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