Design by contract for aspects, by aspects

  • Authors:
  • Tim Molderez;Dirk Janssens

  • Affiliations:
  • University of Antwerp, Antwerp, Belgium;University of Antwerp, Antwerp, Belgium

  • Venue:
  • Proceedings of the eleventh workshop on Foundations of Aspect-Oriented Languages
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Run-time contract enforcement is a useful means to help ensure the reliability of a software system. Due to the scattering and tangling nature of crosscutting concerns, aspects can have a high degree of coupling with other modules. Contract enforcement should therefore prove especially useful for aspects. This paper presents such a run-time enforcement algorithm for a minimal aspect-oriented language, guided by the advice substitution principle: an aspect-oriented version of Liskov substitution. As contract enforcement in itself is a crosscutting concern, the algorithm is specified using aspects as well.