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.

Proceeding3.aj 407B

1234567891011121314
  1. import org.aspectj.testing.Tester;
  2. public class Proceeding3 {
  3. public static void main(String[] args) {
  4. }
  5. static aspect A {
  6. void around() : execution(void main(String[])) {
  7. proceed(); // special form or Proceeding.proceed()?
  8. }
  9. }
  10. void proceed() {
  11. Tester.checkFailed("A bare call to proceed inside around advice should never refer to a method");
  12. }
  13. }