作者: K. Rustan M. Leino , Angela Wallenburg
关键词:
摘要: The correctness of object-oriented programs relies on object invariants. A system for verifying such requires a systematic method coping with invariants that can be violated temporarily. This paper describes sound methodology flexibly changing data locally in structures, supporting programming patterns occur frequently practice. In more detail, to handle subclasses, previous approaches have been geared toward update the fields an only overridable virtual methods object. enhanced this handles field updates much flexible way. flexibility applied common case where is not mentioned subclass