arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Clyde Ruby

9 papers · 1997–2013

1997: 11998: 31999: 02000: 32001: 02002: 02003: 02004: 02005: 02006: 12007: 02008: 02009: 02010: 02011: 02012: 02013: 1
1997peak 3 in 19982013

Frequent co-authors

Papers

showing 1–9 of 9 RSS

Preliminary design of JML

Gary T. Leavens, Albert L. Baker, Clyde Ruby

Computational Theory and Mathematics · ACM SIGSOFT Software Engineering Notes · · cited 787× · DOI ↗ · more like this ·

JML is a behavioral interface specification language tailored to Java(TM). Besides pre- and postconditions, it also allows assertions to be intermixed with Java code; these aid verification and debugging. JML is designed to be used by working software engineers; to do this it follows Eiffel in using Java expressions in assertions. JML combines this idea from Eiffel with the model-based approach to specifications, typified by VDM and Larch, which results in greater expressiveness. Other expressiveness advantages over Eiffel include quantifiers, specification-only variables, and frame conditions.This paper discusses the goals of JML, the overall approach, and describes the basic features of the language through examples. It is intended for readers who have some familiarity with both Java and behavioral specification using pre- and postconditions.

JML: notations and tools supporting detailed design in Java

Gary T. Leavens, Clyde Ruby, K. Rustan +3 more

Artificial Intelligence · · cited 126× · OpenAlex ↗ · more like this ·

JML is a notation for specifying the detailed design of Java classes and interfaces. JML's assertions are stated using a slight extension of Java's expression syntax. This should make it easy to use. Tools for JML aid in static analysis, verification, and run-time debugging of Java code.

JML (poster session)

Gary T. Leavens, Clyde Ruby, K. Rustan M. Leino +2 more

Artificial Intelligence · · cited 78× · DOI ↗ · more like this ·

JML is a notation for specifying the detailed design of Java classes and interfaces. JML's assertions are stated using a slight extension of Java's expression syntax. This should make it easy to use. Tools for JML aid in static analysis, verification, and run-time debugging of Java code.

Safely creating correct subclasses without seeing superclass code

Clyde Ruby, Gary T. Leavens

Information Systems · · cited 44× · DOI ↗ · more like this ·

A major problem for object-oriented frameworks and class libraries is how to provide enough information about a superclass, so programmers can safely create new subclasses without giving away the superclass's code. Code inherited from the superclass can call down to methods of the subclass, which may cause nontermination or unexpected behavior. We describe a reasoning technique that allows programmers, who have no access to the code of the superclass, to determine both how to safely override the superclass's methods and when it is safe to call them. The technique consists of a set of rules and some new forms of specification. Part of the specification would be generated automatically by a tool, a prototype of which is planned for the formal specification language JML. We give an example to show the kinds of problems caused by method overrides and how our technique can…

Preliminary Design of JML: A Behavioral Interface Specification

Gary T. Leavens, Albert L. Baker, Clyde Ruby

Computational Theory and Mathematics · Iowa State University Digital Repository (Iowa State University) · · cited 3× · OpenAlex ↗ · more like this ·

JML is a behavioral interface specification language tailored to Java. It also allows assertions to be intermixed with Java code, as an aid to verification and debugging. JML is designed to be used by working software engineers, and requires only modest mathematical training. To achieve this goal, JML uses Eiffel-style assertion syntax combined with the model-based approach to specifications typified by VDM and Larch. However, JML supports quantifiers, specification-only variables, frame conditions, and other enhancements that make it more expressive for specification than Eiffel. This paper discusses the goals of JML, the overall approach, and describes the language through examples. It is intended for readers who have some familiarity with both Java and behavioral specification using pre- and postconditions.

Specification Facets for More Precise, Focused Documentation

Gary T. Leavens, Clyde Ruby

Computational Theory and Mathematics · Iowa State University Digital Repository (Iowa State University) · · cited 2× · OpenAlex ↗ · more like this ·

Specification languages could aid reuse to a larger extent if they could document all important facets of software, not just functional behavior. Since a specification language designer cannot know exactly what aspects of a piece of software will be important, users should be able to do "metaspecification"; that is, users should be able to declare new facets, and then use these facets to specify their software. Examples of facets that users might want to specify include time and space usage, safety considerations, aliasing, error checking, the user interface, etc.

Table of Contents

Gary T. Leavens, Erik Poll, Curtis Clifton +7 more

Computer Science Applications · · cited 0× · OpenAlex ↗ · more like this ·

Permission is granted for you to make copies of this manual for educational and scholarly purposes, and for commercial use in specifying software, but the copies may not be sold or otherwise used for direct commercial advantage; this permission is granted provided that this copyright and permission notice is preserved on all copies. All other rights reserved.

JML: a Java Modeling Language

Gary T. Leavens, Albert L. Baker, Clyde Ruby

Artificial Intelligence · · cited 0× · OpenAlex ↗ · more like this ·

JML is a behavioral interface specification language tailored to Java. It also allows assertions to be intermixed with Java code, as an aid to verification and debugging. JML is designed to be used by working software engineers, and requires only modest mathematical training. To achieve this goal, JML uses Eiffel-style assertion syntax combined with the model-based approach to specifications typified by VDM and Larch. However, JML supports quantifiers, specification-only variables, frame conditions, and other enhancements that make it more expressive for specification than Eiffel. This paper discusses the goals of JML, the overall approach, and prospects for giving JML a formal semantics through a verification logic. 1 Introduction JML [23], which stands for "Java Modeling Language," is a behavioral interface specification language (BISL) [44] designed to specify Java…

Preliminary Design of JML: A Behavioral Interface Specification Language for Java

Copyright Gary, Gary T. Leavens, Gary T. Leavens +7 more

Computational Theory and Mathematics · · cited 0× · OpenAlex ↗ · more like this ·

JML is a behavioral interface specification language tailored to Java. JML is designed to be used by working software engineers, and requires only modest mathematical training. To achieve this goal, JML uses Eiffel-style assertion syntax combined with model-based approach to specifications. However, JML supports quantifiers, specification-only variables, frame conditions, and other enhancements that make it more expressive for specification than Eiffel. This paper discusses the goals of JML, the overall approach, and describes the language through examples. It is intended for readers who have some familiarity with both Java and behavioral specification using pre- and postconditions. 1 Introduction JML stands for "Java Modeling Language." JML is a behavioral interface specification language (BISL) [Win87] designed to specify Java [AG98, GJS96] modules. Java modules are…