An Approach for Re ning JML Speci cation To Object Oriented Code
Publish place: 14th annual International CSI Computer Conference
Publish Year: 1388
Type: Conference paper
Language: English
View: 2,576
This Paper With 9 Page And PDF Format Ready To Download
- Certificate
- I'm the author of the paper
Export:
Document National Code:
CSICC14_105
Index date: 14 June 2009
An Approach for Re ning JML Speci cation To Object Oriented Code abstract
JML is a behavioral interface speci cation language which has Java as its target implementation language. It com- bines the idea of using Java expressions from Ei el lan- guage with the model-based approach to specify a pro- gram. Re nement calculus is a framework to produceexecutable code from a speci cation by preserving the correctness of programs. In this paper some constructs of JML concerning object creation, feature call, excep- tional behavior and concurrency constructs are studied and some re nement rules are proposed to obtain an object oriented code in Java from a JML speci cation containig these constructs. The correctness of these rules is proved by weakest precondition predicate trans- former. The re nement of usual constructs in JML such as If-statement, Loop and Assignment from pre- vious works such as Z re nement is also demonstrated.
An Approach for Re ning JML Speci cation To Object Oriented Code Keywords:
An Approach for Re ning JML Speci cation To Object Oriented Code authors
Razieh Piri
Computer Engineering Department Sharif University of Technology Azadi Ave., Tehran, Iran
Seyed-Hassan Mirian-Hosseinabadi
Assistant Professor Computer Engineering Department Sharif University of Technology Azadi Ave., Tehran, Iran