Back to results

Iowa State University

A specification language design for the Java Modeling Language (JML) using Java 5 annotations

Abstract

dc:description.abstract

<p>Design by contract specification languages help programmers write their intentions for a piece of code in a formal mathematical language. Most programming languages do not have built-in syntax for such specifications, so many design by contract languages place specifications in comments. The Java Modeling Language (JML) is one such specification language for Java that uses comments to specify contracts. However, starting with version 5, Java has introduced annotations, a syntactical structure to place metadata in various places in the code. This thesis proposes an initial design to writing JML contracts in the Java 5 annotation syntax and evaluates several criteria in the areas of specification languages and Java language design: whether these annotations are expressive enough to take advantage of annotation simplicity and tool support, and whether the annotation syntax is expressive enough to support handling a large specification language such as JML.</p>

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
thesis
Department dc:contributor.department
Department of Computer Science
Year dc:date.issued
2008

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Taylor, Kristina
Advisors dc:contributor.advisor
  • Gary T. Leavens
  • Krishna Rajan
  • Hridesh Rajan

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Identifier
archive/lib.dr.iastate.edu/rtd/14929/
Dc Identifier Other
15928
7008112
Mods Identifier Filename
archive/lib.dr.iastate.edu/rtd/14929/1453063.PDF|||Fri Jan 14 20:28:54 UTC 2022

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Taylor, Kristina. A specification language design for the Java Modeling Language (JML) using Java 5 annotations. thesis thesis, 2008. https://dr.lib.iastate.edu/handle/20.500.12876/68508