org.aspectj/org.aspectj.ajdt.core/testdata/src1/Declares.java
2002-12-16 17:58:19 +00:00

14 lines
282 B
Java

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";
}