Contract4J is a build and runtime tool that supports "Design by Contract" for Java 5. The tests are defined using annotations. At runtime, AspectJ aspects evaluate the test expressions and handle failures. Note: The code is maintained at http://git
Be the first to post a review of Contract for Java!