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.

DeclareWarning.java 251B

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