aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr129408/AtAj.java
blob: 0797235db5efad9b7561552d26698c14eae4d4ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import org.aspectj.lang.annotation.*;

@Aspect
public class AtAj {
	
	@Pointcut("call(* println(..)) && within(C*) && args(s)")
	public void p(String s) {}
	
	@Before("p(s)")
	public void m(String s) {
		System.err.println("a");
	}
}