Loading...

An approach for refining JML specification to object oriented code

Piri, R ; Sharif University of Technology

456 Viewed
  1. Type of Document: Article
  2. DOI: 10.1109/CSICC.2009.5349604
  3. Abstract:
  4. JML is a behavioral interface specification language which has Java as its target implementation language. It combines the idea of using Java expressions from Eiffel language with the model-based approach to specify a program. Refinement calculus is a framework to produce executable code from a specification by preserving the correctness of programs. In this paper some constructs of JML concerning object creation, feature call, exceptional behavior and concurrency constructs are studied and some refinement rules are proposed to obtain an object oriented code in Java from a JML specification containig these constructs. The correctness of these rules is proved by weakest precondition predicate transformer. The refinement of usual constructs in JML such as If-statement, Loop and Assignment from previous works such as Z refinement is also demonstrated
  5. Keywords:
  6. Behavioral interfaces ; Eiffel language ; Executable codes ; Implementation languages ; JML ; Model based approach ; Object creation ; Object oriented ; Object-oriented code ; Predicate transformers ; Refinement calculi ; Refinement rule ; Weakest precondition ; Computer software ; Formal logic ; Formal methods ; Linguistics ; Refining ; Specification languages ; Specifications ; Java programming language
  7. Source: 2009 14th International CSI Computer Conference, 20 October 2009 through 21 October 2009 ; 2009 , Pages 1-9 ; 9781424442621 (ISBN)
  8. URL: http://ieeexplore.ieee.org/document/5349604