aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testdata/src1/Declares.java
blob: b3c6a065b523a60d4725be17061ee8445c1c39a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
public class Declares {
	public void m() {  // should be error on this line
	}
}

aspect Checker {
    declare error: execution(* m()): "too short method name";
    declare error: execution(* n()): "too short method name";  // no effect
    
    //declare warning: exec: "bar";
}