summaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj/annotationGen/BadParameterBinding.java
blob: 8e4c2e58f86500903fe98d7acf740921dced04f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import org.aspectj.lang.annotation.*;

@Aspect
public class BadParameterBinding {
	
	@SuppressAjWarnings
	@Before("execution(* *(..)) && this(bpb)")
	public void logEntry(BadParameterBinding bpb) {}
	
	@SuppressAjWarnings
	@AfterReturning("execution(* *(..)) && this(bpb)")
	public void logExit() {}
	
	@SuppressAjWarnings
	@AfterThrowing("call(* TheUnknownType.*(..))")
	public void logException() {}
	
}