Sciweavers

REFLECTION
1999
Springer

jContractor: A Reflective Java Library to Support Design by Contract

14 years 3 months ago
jContractor: A Reflective Java Library to Support Design by Contract
jContractor is a purely library based approach to support Design By Contract specifications such as preconditions, postconditions, class invariants, and recovery and exception handling in Java. jContractor uses an intuitive naming convention, and standard Java syntax to instrument Java classes and enforce Design By Contract constructs. The designer of a class specifies a contract by providing contract methods following jContractor naming conventions. jContractor uses Java Reflection to synthesize an instrumented version of a Java class by incorporating code that enforces the present jContractor contract specifications. Programmers enable the run-time enforcement of contracts by either engaging the jContractor class loader or by explicitly instantiating objects using the jContractor object factory. Programmers can use exactly the same syntax for invoking methods and passing object references regardless of whether contracts are present or not. Since jContractor is purely library-based, i...
Murat Karaorman, Urs Hölzle, John L. Bruno
Added 04 Aug 2010
Updated 04 Aug 2010
Type Conference
Year 1999
Where REFLECTION
Authors Murat Karaorman, Urs Hölzle, John L. Bruno
Comments (0)