2005 · 27 citations · 7 references
ComputingComputer ScienceContractsProgramming LanguagesSoftware EngineeringApplication Programming InterfacesData-flow AnalysisObject-oriented ProgrammingSoftware DesignType CheckingType SystemsAspect-oriented ProgrammingContract Compliance CheckingInvariantsSubstitution Principle
In this paper we report on how aspect-oriented programming (AOP), using AspectJ, can be employed to automatically and efficiently instrument contracts and invariants in Java. The paper focuses on the templates to instrument preconditions, postconditions, and class invariants, and the necessary instrumentation for compliance-checking to the Liskov substitution principle.
7