A Specification Language Design for the Java Modeling Language (JML) Using Java 5 Annotations

dc.contributor.author Taylor, Kristina
dc.contributor.department Department of Computer Science
dc.date 2018-02-14T00:56:11.000
dc.date.accessioned 2020-06-30T01:56:35Z
dc.date.available 2020-06-30T01:56:35Z
dc.date.issued 2008-01-01
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>
dc.identifier archive/lib.dr.iastate.edu/cs_techreports/307/
dc.identifier.articleid 1328
dc.identifier.contextkey 5540321
dc.identifier.s3bucket isulib-bepress-aws-west
dc.identifier.submissionpath cs_techreports/307
dc.identifier.uri https://dr.lib.iastate.edu/handle/20.500.12876/20136
dc.source.bitstream archive/lib.dr.iastate.edu/cs_techreports/307/TR08_03.pdf|||Fri Jan 14 23:29:14 UTC 2022
dc.subject.disciplines Software Engineering
dc.subject.keywords JML annotation specification
dc.title A Specification Language Design for the Java Modeling Language (JML) Using Java 5 Annotations
dc.type article
dc.type.genre article
dspace.entity.type Publication
relation.isOrgUnitOfPublication f7be4eb9-d1d0-4081-859b-b15cee251456
File
Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
TR08_03.pdf
Size:
349.01 KB
Format:
Adobe Portable Document Format
Description:
Collections