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.

pr138215.aj 289B

12345678910111213141516171819
  1. package abc;
  2. import org.aspectj.lang.annotation.*;
  3. @Aspect
  4. public class pr138215 {
  5. @DeclareWarning("fooExecution()")
  6. public static final String warning = "no foos please";
  7. @Pointcut("execution(* foo())")
  8. public void fooExecution() {}
  9. }
  10. class Fooey {
  11. public void foo() {}
  12. }