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.

AspectDeclare.aj 398B

123456789101112131415161718192021222324
  1. // Simple aspect that tramples all over Simple.java
  2. public aspect AspectDeclare {
  3. pointcut methodRunning(): execution(* *(..));
  4. declare parents: Simple implements MarkerInterface;
  5. // declare parents: Simple extends InTheWay;
  6. // declare soft:
  7. //
  8. // declare precedence:
  9. //
  10. // declare warning:
  11. //
  12. // declare error:
  13. //
  14. }
  15. interface MarkerInterface {}
  16. class InTheWay {}