You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Declares.java 282B

12345678910111213
  1. public class Declares {
  2. public void m() { // should be error on this line
  3. }
  4. }
  5. aspect Checker {
  6. declare error: execution(* m()): "too short method name";
  7. declare error: execution(* n()): "too short method name"; // no effect
  8. //declare warning: exec: "bar";
  9. }