Paper record

W2109879514

Design by Contract with JML

Gary Todd Leavens, Yoonsik Cheon

Year
2006
Venue
—
References
13
Cited by
224

Details and counts from OpenAlex.

Abstract

This document gives a tutorial introduction to the Java Modeling Language (JML), and explains how JML can be used as a powerful design by contract (DBC) tool for Java. JML is a formal behavioral interface specification language for Java that contains the essential notations used in DBC as a subset. The basic concepts of DBC are explained with a particular emphasis on how to use JML notations to specify Java classes and interfaces. JML tools such as JML compiler (jmlc) are also introduced, with examples of their use. 1