Abstract
In the Design By Contract (DBC) approach,
programmers specify methods with pre and postconditions
(also called contracts). Earlier work added protocols
to the DBC approach to describe allowed method call
sequences for classes. We extend
this work to deal with a variant of generic classes and
multithreaded classes.
We present the semantical foundations of our extension.
We describe a new technique to check that method contracts
are correct w.r.t. to protocols.
We show how to generate
programs that must be proven to show that method contracts
are correct w.r.t. to protocols. Because little support currently exists
to help writing method contracts, our technique
helps programmers to check their contracts early in the development process.
Original language | Undefined |
---|---|
Title of host publication | Proceedings of the 24th Annual ACM Symposium on Applied Computing |
Place of Publication | New York |
Publisher | Association for Computing Machinery |
Pages | 587-592 |
Number of pages | 6 |
ISBN (Print) | 978-1-60558-166-8 |
DOIs | |
Publication status | Published - 9 Mar 2009 |
Event | 24th Annual ACM Symposium on Applied Computing, SAC 2009 - Honolulu, United States Duration: 8 Mar 2009 → 12 Mar 2009 Conference number: 24 https://www.sigapp.org/sac/sac2009/ |
Publication series
Name | |
---|---|
Publisher | ACM |
Conference
Conference | 24th Annual ACM Symposium on Applied Computing, SAC 2009 |
---|---|
Abbreviated title | SAC |
Country/Territory | United States |
City | Honolulu |
Period | 8/03/09 → 12/03/09 |
Other | 8-12 March 2009 |
Internet address |
Keywords
- Protocols
- Object Orientation
- EWI-15320
- METIS-263831
- Design By Contract
- Multithreading
- IR-65479