summaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/P3/base/pack/A.aj
blob: ebe30af840075d45e70fe8dac7ad53a12b643b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * 
 */
package pack;

public aspect A {
	
	declare warning : (get(* System.out) || get(* System.err)) : "There should be no printlns"; 
	
	pointcut p() : call(* C.method2(..));
	
	before() : p() {
		System.out.println("blah");
	}
		
}