作者
Michael Barnett, Robert DeLine, Manuel Fähndrich, K Rustan M Leino, Wolfram Schulte
发表日期
2004/6
期刊
Journal of Object Technology
卷号
3
期号
6
页码范围
27-56
简介
An object invariant defines what it means for an object’s data to be in a consistent state. Object invariants are central to the design and correctness of objectoriented programs. This paper defines a programming methodology for using object invariants. The methodology, which enriches a program’s state space to express when each object invariant holds, deals with owned object components, ownership transfer, and subclassing, and is expressive enough to allow many interesting object-oriented programs to be specified and verified. Lending itself to sound modular verification, the methodology also provides a solution to the problem of determining what state a method is allowed to modify.
引用总数
2003200420052006200720082009201020112012201320142015201620172018201920202021202220232024324314253554834322123151112368115873
学术搜索中的文章
M Barnett, R DeLine, M Fähndrich, KRM Leino… - Journal of Object Technology, 2004