arXiv.itsnick.co

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

Computer Science · Artificial Intelligence

Specification Matching for JML-annotated Java Author:

Martin Hansen, Joseph Kiniry, Josu Martinez

See on the map

Abstract

In 1997 Zaremski and Wing introduced definitions of specification matching of software components and implemented a system according to these definitions for components written in the ML programming language with specifications in the Larch/ML specification language [ZW97]. In this thesis we present a system for specification matching of JML-annotated Java methods. Our system is able to compare the JML specifications of two Java methods and decide if they match according to the definitions introduced by Zaremski and Wing in 1997 [ZW97]. The system is realized by translating JML-annotated Java into a many-sorted first-order logic defined by version 2 of the SMT-LIB standard. We define an object logic and rules for forming type predicates for JML-annotated Java. The system is limited partly by the limitations of the underlying SMT-LIBv2 solver and partly by approximations in our object logic and rules for forming

More like this