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.

AspectDeclareExtends.aj 347B

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