aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/reflection/PointcutLibrary.aj
blob: f3e59e21cbbee9a7356a4c8a567602c4f29feab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// random collection of pointcuts to check that
// reflective world and PointcutParser can interpret
// them correctly.

public aspect PointcutLibrary {
	
	public pointcut propertyAccess() : get(* *);
	public pointcut propertyUpdate() : set(* *);
	public pointcut methodExecution() : execution(* *(..));
	public pointcut propertyGet() : execution(!void get*(..));
	public pointcut propertySet(Object newValue) 
		: execution(void set*(..)) && args(newValue);
	
}