aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata/bug-36071/src/aspects/Logging.java
blob: 2e8ba485a6789bcea37eac9e77ac79d73af860d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Created on 30-Jul-03
 *
 * To change this generated comment go to 
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package aspects;

/**
 * @author websterm
 *
 * To change this generated comment go to 
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public aspect Logging {
	
	pointcut methods () :
		execution(* *..*(..)) && !within(Logging);
	
	before () : methods () {
		System.err.println("> " + thisJoinPoint.getSignature().toLongString());
	}
	
	after () : methods () {
		System.err.println("< " + thisJoinPoint.getSignature().toLongString());
	}
}