summaryrefslogtreecommitdiffstats
path: root/tests/bugs/faultingInSource/SimpleTracing.java
blob: 231cac76265dd45c765848a9da1dfa3ce45cfeb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
aspect SimpleTracing
{
	pointcut traceCall():
		call (void SampleClass.foo(..));
		
	before(): traceCall()
	{
		System.out.println ("Entering: " + thisJoinPoint);
	}
	
	after(): traceCall()
	{
		System.out.println ("Exiting: " + thisJoinPoint);
	}
}