{"id":{"repo_id":"iastate","oai_identifier":"oai:dr.lib.iastate.edu:20.500.12876/68508"},"canonical_url":"https://search.ndltd.org/etd/iastate/oai:dr.lib.iastate.edu:20.500.12876/68508","repository":{"repo_id":"iastate","name":"Iowa State University","base_url":"https://dr.lib.iastate.edu/server/oai/request"},"display":{"title":"A specification language design for the Java Modeling Language (JML) using Java 5 annotations","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>","abstract_html":"&lt;p&gt;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.&lt;/p&gt;","abstract_has_math":false,"creators":["Taylor, Kristina"],"institution":null,"degree_name":"Master of Science","degree_level":"thesis","degree_discipline":null,"degree_department":"Department of Computer Science","school":null,"contributors":[],"advisors":["Gary T. Leavens","Krishna Rajan","Hridesh Rajan"],"committee_chairs":[],"committee_members":[],"year":2008,"date_issued":"2008-01-01","date_published":"2008-01-01","updated_at":"2026-11-19T04:39:09Z","subjects":[],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/68508"],"render_values":[{"text":"https://dr.lib.iastate.edu/handle/20.500.12876/68508","href":"https://dr.lib.iastate.edu/handle/20.500.12876/68508","code":true}]},{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/rtd/14929/"],"render_values":[{"text":"archive/lib.dr.iastate.edu/rtd/14929/","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["15928","7008112"],"render_values":[{"text":"15928","href":null,"code":true},{"text":"7008112","href":null,"code":true}]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/rtd/14929/1453063.PDF|||Fri Jan 14 20:28:54 UTC 2022"],"render_values":[{"text":"archive/lib.dr.iastate.edu/rtd/14929/1453063.PDF|||Fri Jan 14 20:28:54 UTC 2022","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31274/rtd-180813-16072","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.31274/rtd-180813-16072","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiastate%3Aoai%3Adr.lib.iastate.edu%3A20.500.12876%2F68508","prefix":"oai_dc"},"source_record":{"url":"https://dr.lib.iastate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.lib.iastate.edu%3A20.500.12876%2F68508","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Gary T. Leavens","Krishna Rajan","Hridesh Rajan"]},{"key":"dc:contributor.department","label":"Department","values":["Department of Computer Science"]},{"key":"dc:creator","label":"Author","values":["Taylor, Kristina"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2018-08-23T11:27:56.000"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2020-06-30T07:40:31Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2020-06-30T07:40:31Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["Tue Jan 01 00:00:00 UTC 2008"]},{"key":"dc:date.issued","label":"Date","values":["2008-01-01"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["f7be4eb9-d1d0-4081-859b-b15cee251456"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.discipline","label":"Dc Subject Discipline","values":["Computer Sciences"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/rtd/14929/"]},{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.31274/rtd-180813-16072"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["15928","7008112"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/68508"]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/rtd/14929/1453063.PDF|||Fri Jan 14 20:28:54 UTC 2022"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["<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>"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["A specification language design for the Java Modeling Language (JML) using Java 5 annotations"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:admin","label":"Local Admin","values":["isulib-bepress-aws-west","rtd/14929"]}]}],"canonical_facts":{"dc:contributor.advisor":["Gary T. Leavens","Krishna Rajan","Hridesh Rajan"],"dc:contributor.department":["Department of Computer Science"],"dc:creator":["Taylor, Kristina"],"dc:date":["2018-08-23T11:27:56.000"],"dc:date.accessioned":["2020-06-30T07:40:31Z"],"dc:date.available":["2020-06-30T07:40:31Z"],"dc:date.copyright":["Tue Jan 01 00:00:00 UTC 2008"],"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:format.mimetype":["application/pdf"],"dc:identifier":["archive/lib.dr.iastate.edu/rtd/14929/"],"dc:identifier.doi":["https://doi.org/10.31274/rtd-180813-16072"],"dc:identifier.other":["15928","7008112"],"dc:identifier.uri":["https://dr.lib.iastate.edu/handle/20.500.12876/68508"],"dc:language.iso":["en"],"dc:relation.orgunit":["f7be4eb9-d1d0-4081-859b-b15cee251456"],"dc:subject.discipline":["Computer Sciences"],"dc:subject.keyword":["Computer science"],"dc:title":["A specification language design for the Java Modeling Language (JML) using Java 5 annotations"],"dc:type":["thesis"],"dspace:entity.type":["Publication"],"local:admin":["isulib-bepress-aws-west","rtd/14929"],"mods:identifier.filename":["archive/lib.dr.iastate.edu/rtd/14929/1453063.PDF|||Fri Jan 14 20:28:54 UTC 2022"],"thesis:degree_level":["thesis"],"thesis:degree_name":["Master of Science"]},"updated_at":"2026-11-19T04:39:09Z"}