summaryrefslogtreecommitdiffstats
path: root/ajde/testdata/SecurityManagerTest/src/Aspect.aj
blob: 74a3f6bc91450e2f878a77c9c7c0e85426022309 (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
/*
 * Created on 28-Sep-2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */



/**
 * @author websterm
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public aspect Aspect {

	pointcut method () :
		execution(* println(..)) && within(HelloWorld) && cflow(execution(* main(..)));
	
	before () : method () {
		System.out.println(thisJoinPoint.getSignature());
	}
}