Object-oriented Programming Laws for Annotated Java Programs

Gabriel Falconieri Freitas
Márcio Cornélio
Tiago Massoni
Rohit Gheyi

Object-oriented programming laws have been proposed in the context of languages that are not combined with a behavioral interface specification language (BISL). The strong dependence between source-code and interface specifications may cause a number of difficulties when transforming programs. In this paper we introduce a set of programming laws for object-oriented languages like Java combined with the Java Modeling Language (JML). The set of laws deals with object-oriented features taking into account their specifications. Some laws deal only with features of the specification language. These laws constitute a set of small transformations for the development of more elaborate ones like refactorings.

In Ian Mackie and Anamaria Martins Moreira: Proceedings Tenth International Workshop on Rule-Based Programming (RULE 2009), Brasília, Brazil , 28th June 2009, Electronic Proceedings in Theoretical Computer Science 21, pp. 65–76.
Published: 30th March 2010.

ArXived at: https://dx.doi.org/10.4204/EPTCS.21.6 bibtex PDF

Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org