aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features152/synchronization/LockAspect1.java
blob: a1b0bbc0896a7c9bac9a5cc6c46f051f9c42f21f (plain)
1
2
3
4
5
6
7
8
9
// to be LTW with BasicProgram1
import org.aspectj.lang.annotation.*;

public aspect LockAspect1 {
	@SuppressAjWarnings("adviceDidNotMatch")
	before(): lock() {
		System.err.println("Lock advice running at "+thisJoinPoint.getSourceLocation());
	}
}