Generates Java classes from JML specifications that check
assertions at runtime.
The runtime assertion checker allows one to check the Java Modeling
Language (JML) assertions at runtime when the programs are being executed.
It adds assertion check code to the generated Java bytecode that checks
pre- and postconditions, invariants, and history constraints.
Related Documentation
The following short paper gives a quick overview on the JML's runtime
assertion checker.
For an overview, syntax, informal semantics, and examples of the JML
language, please refer to:
-
Gary T. Leavens,
Albert L. Baker, and
Clyde Ruby.
Preliminary Design of JML:
A Behavioral Interface Specification Language for Java.
Department of Computer Science,
Iowa State University, TR #98-06p, June 1998, revised July, November 1998,
January, April, June, July, August, December 1999, February, May,
July, December 2000, February, April, May, August 2001.
[abstract]
[postscript]
[PDF]