aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj/coverage/Test040.java
blob: b4ba98086f9b398abd5eb1d368b4ccb35eb17c13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// "@Before with && in string"

import org.aspectj.lang.annotation.*;

class Foo{
}
aspect A{
  @SuppressAjWarnings
  @Before("call(* org.aspectprogrammer..*(..)) && this(Foo)")
  public void callFromFoo() {
    System.out.println("Call from Foo");
  }
}