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.

1234567891011121314151617
  1. abstract class Order {
  2. public void print() { }
  3. }
  4. //
  5. class SalesOrder {
  6. }
  7. //
  8. abstract aspect OrderDecorator
  9. {
  10. declare parents : SalesOrder extends Order;
  11. public void SalesOrder.print()
  12. {
  13. super.print(); // Line 12
  14. }
  15. protected pointcut print(Order order) : target(order) && call(public void print());
  16. }