Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. The Java Modeling
Language (JML) is a specification language for Java programs, using
Hoare style pre- and postconditions and invariants, that follows the
design by contract paradigm. Specifications are written as Java
annotation comments to the source files, which hence can be compiled
with any Java compiler. Various verification tools, such as a runtime
assertion checker and the Extended Static Checker (ESC/Java) aid
development. JML is a behavioural interface specification language for
Java modules. JML provides semantics to formally describe the behavior
of a Java module, preventing ambiguity with regard to the module
designers' intentions. JML inherits ideas from Eiffel, Larch and the
Refinement Calculus, with the goal of providing rigorous formal
semantics while still being accessible to any Java programmer.